diff options
| author | Adrian Hunter <[email protected]> | 2018-01-16 15:14:51 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-18 09:00:45 -0300 |
| commit | 59a87fdad1467d228acc5cb1303b0b568a9e86a8 (patch) | |
| tree | 74f556f50cf636b268fc112b0c9bffb297abc0b7 /tools/perf/scripts/python | |
| parent | a10eb530ae497e2411525fc1f5ec73f39eb11c11 (diff) | |
perf evsel: Ensure reserved member of PERF_SAMPLE_CPU is zero in perf_event__synthesize_sample()
PERF_SAMPLE_CPU contains the cpu number in the first 4 bytes and the
second 4 bytes are reserved. Ensure the reserved bytes are zero in
perf_event__synthesize_sample().
Signed-off-by: Adrian Hunter <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions