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. Fixes: #1402 Signed-off-by: Dave Tucker <[email protected]>
- Loading branch information