diff options
author | Leo Yan <leo.yan@linaro.org> | 2020-11-11 15:11:30 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-11-11 14:45:05 -0300 |
commit | b2ded2e2e2764e502fc025f615210434f1eaa2a9 (patch) | |
tree | ecc352e07992a693689d0cf4352f256fc045e99d /tools/perf/util/header.c | |
parent | perf arm-spe: Fix a typo in comment (diff) | |
download | linux-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