diff options
author | Daniel Borkmann <[email protected]> | 2016-06-28 12:18:25 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-30 05:54:40 -0400 |
commit | 6816a7ffce32e999601825ddfd887f36d3052932 (patch) | |
tree | 99a35abec2ab665d9cd72ae8f143b544d5eef923 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d79313303181d357d293453fb8486bdc87bfd2f4 (diff) |
bpf, trace: add BPF_F_CURRENT_CPU flag for bpf_perf_event_read
Follow-up commit to 1e33759c788c ("bpf, trace: add BPF_F_CURRENT_CPU
flag for bpf_perf_event_output") to add the same functionality into
bpf_perf_event_read() helper. The split of index into flags and index
component is also safe here, since such large maps are rejected during
map allocation time.
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions