Compare commits
3 Commits
d15586390a
...
e928dd898b
Author | SHA1 | Date | |
---|---|---|---|
e928dd898b | |||
51fc5ed28d | |||
0b3920af52 |
3
GetRuntimeAddresses/go.mod
Normal file
3
GetRuntimeAddresses/go.mod
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module kesim.org/ebpf-challenge/GetRuntimeAddresses
|
||||||
|
|
||||||
|
go 1.19
|
@ -6,8 +6,8 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/optimyze-interviews/OezguerKesim/GetRuntimeAddresses/ebpf"
|
"kesim.org/ebpf-challenge/GetRuntimeAddresses/ebpf"
|
||||||
"github.com/optimyze-interviews/OezguerKesim/GetRuntimeAddresses/symbolyze"
|
"kesim.org/ebpf-challenge/GetRuntimeAddresses/symbolyze"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -202,6 +202,7 @@ func (S *Scanner) Run() error {
|
|||||||
wg.Add(len(S.observers)) // Wait for this many goroutines
|
wg.Add(len(S.observers)) // Wait for this many goroutines
|
||||||
go func() {
|
go func() {
|
||||||
for n, observer := range S.observers {
|
for n, observer := range S.observers {
|
||||||
|
observer := observer
|
||||||
go func() {
|
go func() {
|
||||||
err = observer(pid, offset)
|
err = observer(pid, offset)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user