perf build-id: Reduce size of "size" variable
authorIan Rogers <irogers@google.com>
Thu, 24 Jul 2025 16:32:41 +0000 (09:32 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 24 Jul 2025 20:50:17 +0000 (13:50 -0700)
commitf3982385bc507991f1ed732c3c7907bff703f4d4
tree58386de5212adb82e4f6c637ea2007236d84001e
parentfcc7cc31239d0fbf0ebf25e65f7f572caed40206
perf build-id: Reduce size of "size" variable

Later clean up of the dso_id to include a build_id will suffer from
alignment and size issues. The size can only hold up to a value of
BUILD_ID_SIZE (20) and the mmap2 event uses a byte for the value.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/build-id.h
tools/perf/util/synthetic-events.c