summaryrefslogtreecommitdiff
path: root/tools/perf/util/intel-pt.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2018-01-16 16:14:51 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-01-18 15:00:45 +0300
commit59a87fdad1467d228acc5cb1303b0b568a9e86a8 (patch)
tree74f556f50cf636b268fc112b0c9bffb297abc0b7 /tools/perf/util/intel-pt.c
parenta10eb530ae497e2411525fc1f5ec73f39eb11c11 (diff)
downloadlinux-59a87fdad1467d228acc5cb1303b0b568a9e86a8.tar.xz
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 <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1516108492-21401-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt.c')
0 files changed, 0 insertions, 0 deletions