summaryrefslogtreecommitdiff
path: root/tools/perf/Makefile.config
diff options
context:
space:
mode:
authorDmitry Koshelev <karaghiozis@gmail.com>2021-05-06 16:11:49 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-05-10 15:01:00 +0300
commita11c9a6e472457cf9eeafb585fc5c912f51d1b23 (patch)
treeda235c9b870b40c221e702bdd69d16e2016c1cc9 /tools/perf/Makefile.config
parent7aa3c9eabdf76017679e975e2ffd50cde3c010b8 (diff)
downloadlinux-a11c9a6e472457cf9eeafb585fc5c912f51d1b23.tar.xz
perf session: Fix swapping of cpu_map and stat_config records
'data' field in perf_record_cpu_map_data struct is 16-bit wide and so should be swapped using bswap_16(). 'nr' field in perf_record_stat_config struct should be swapped before being used for size calculation. Signed-off-by: Dmitry Koshelev <karaghiozis@gmail.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20210506131244.13328-1-karaghiozis@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.config')
0 files changed, 0 insertions, 0 deletions