diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-12-15 20:28:09 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-12-21 18:52:40 +0100 |
commit | ea335ef3ddcdc17d616753743f92718e723341fb (patch) | |
tree | 690705403a946889446441c54fb5df859b437c48 /fs/exec.c | |
parent | perf test: Fix "all PMU test" to skip parametrized events (diff) | |
download | linux-ea335ef3ddcdc17d616753743f92718e723341fb.tar.xz linux-ea335ef3ddcdc17d616753743f92718e723341fb.zip |
perf srcline: Do not return NULL for srcline
The code assumes non-NULL srcline value always, let's return the usual
SRCLINE_UNKNOWN ("??:0") string instead.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221215192817.2734573-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions