aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-09-14 11:24:37 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-10-02 15:02:47 -0300
commit8dc364fa484df22d301a16148d1b356931d0cbb0 (patch)
treea4ead39f5a56ce187c9a7ae480a20fef6eb42079 /tools/perf/scripts/python/stackcollapse.py
parentperf symbol-minimal: Be more defensive when reading build IDs (diff)
downloadlinux-8dc364fa484df22d301a16148d1b356931d0cbb0.tar.gz
linux-8dc364fa484df22d301a16148d1b356931d0cbb0.zip
libperf mmap: In user mmap rdpmc avoid undefined behavior
A shift left of a signed 64-bit s64 may overflow and result in undefined behavior caught by ubsan. Switch to a u64 instead. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions