aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2025-06-25 20:23:08 +0000
committerNamhyung Kim <[email protected]>2025-06-26 17:51:40 +0000
commit55a18d2f3ff79c9082225f44e0abbaea6286bf99 (patch)
treec58eec952c37037e17ccdff54361a864358247f8 /tools/perf/util/annotate.c
parentperf top: populate PMU capabilities data in perf_env (diff)
downloadkernel-55a18d2f3ff79c9082225f44e0abbaea6286bf99.tar.gz
kernel-55a18d2f3ff79c9082225f44e0abbaea6286bf99.zip
perf build: enable -fno-strict-aliasing
perf pulls in code from kernel headers that assumes it is being built with -fno-strict-aliasing, namely put_unaligned_*() from <linux/unaligned.h> which write the data using packed structs that lack the may_alias attribute. Enable -fno-strict-aliasing to prevent miscompilations in sha1.c which would otherwise occur due to this issue. Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions