Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gandem committed Jul 18, 2024
1 parent a4c5383 commit 6298e4a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions interpreter/nodev8/v8.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,22 +584,6 @@ func (i *v8Instance) SynchronizeMappings(ebpf interpreter.EbpfHandler,
}
}

// Remove prefixes not seen
for prefix, generation := range i.prefixes {
if generation == i.mappingGeneration {
continue
}
_ = ebpf.DeletePidInterpreterMapping(pid, prefix)
delete(i.prefixes, prefix)
}
for m, generation := range i.mappings {
if generation == i.mappingGeneration {
continue
}
log.Debugf("Disabling V8 for %#x/%#x", m.Vaddr, m.Length)
delete(i.mappings, m)
}

return nil
}

Expand Down

0 comments on commit 6298e4a

Please sign in to comment.