Commit 64821d2
libbpf: Remove sample_period init in perf_buffer
It seems that sample_period is not used in perf buffer. Actually, only
wakeup_events are meaningful to enable events aggregation for wakeup notification.
Remove sample_period setting code to avoid confusion.
Fixes: fb84b82 ("libbpf: add perf buffer API")
Signed-off-by: Tao Chen <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]1 parent 46eb012 commit 64821d2
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13375 | 13375 | | |
13376 | 13376 | | |
13377 | 13377 | | |
13378 | | - | |
13379 | 13378 | | |
13380 | 13379 | | |
13381 | 13380 | | |
| |||
0 commit comments