-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bpf): get_on_cpu_cycles not returning delta
Current code assigns val to c.counter, which is always 0 since it's not used by bpf_perf_event_read_value - we're using bpf_perf_event_read in this function since the former produces a strange verifier error. In addition, add some logging around eBPF array resizing. Fixes: #1402 Signed-off-by: Dave Tucker <[email protected]>
- Loading branch information
1 parent
18f8d2b
commit ecb4e9a
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters