summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-11-20 09:52:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-12-12 21:53:36 +0300
commit61e0a9446349e1a1531703fde07b65d2811af84a (patch)
treeb0609e1c6deab83d3aff546b2169e76491be9f24 /tools/perf/scripts/python/export-to-sqlite.py
parent7269846617a572163778bb565e948cfd61edf5f2 (diff)
downloadlinux-61e0a9446349e1a1531703fde07b65d2811af84a.tar.xz
perf string: Avoid undefined NULL+1
While the value NULL+1 is never used it triggers a ubsan warning. Restructure and comment the loop to avoid this. Reviewed-by: James Clark <james.clark@linaro.org> 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: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20241120065224.286813-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions