aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.c
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2020-11-11 15:11:30 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-11-11 14:45:05 -0300
commitb2ded2e2e2764e502fc025f615210434f1eaa2a9 (patch)
treeecc352e07992a693689d0cf4352f256fc045e99d /tools/perf/util/header.c
parentperf arm-spe: Fix a typo in comment (diff)
downloadlinux-dev-b2ded2e2e2764e502fc025f615210434f1eaa2a9.tar.xz
linux-dev-b2ded2e2e2764e502fc025f615210434f1eaa2a9.zip
perf arm-spe: Refactor payload size calculation
This patch defines macro to extract "sz" field from header, and renames the function payloadlen() to arm_spe_payload_len(). Signed-off-by: Leo Yan <leo.yan@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Link: https://lore.kernel.org/r/20201111071149.815-4-leo.yan@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.c')
0 files changed, 0 insertions, 0 deletions