diff options
| author | Alexei Starovoitov <[email protected]> | 2016-06-15 18:25:39 -0700 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-15 23:37:54 -0700 | 
| commit | ad572d174787daa59e24b8b5c83028c09cdb5ddb (patch) | |
| tree | 742f85968aea27bc975164e839dbc00312d3184a /scripts/gdb/linux/lists.py | |
| parent | 19de99f70b87fcc3338da52a89c439b088cbff71 (diff) | |
bpf, trace: check event type in bpf_perf_event_read
similar to bpf_perf_event_output() the bpf_perf_event_read() helper
needs to check the type of the perf_event before reading the counter.
Fixes: a43eec304259 ("bpf: introduce bpf_perf_event_output() helper")
Reported-by: Daniel Borkmann <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions