perf tools: Check vmlinux/kallsyms arguments in all tools
authorJames Clark <james.clark@arm.com>
Mon, 18 Oct 2021 13:48:42 +0000 (14:48 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 7 Nov 2021 15:27:38 +0000 (12:27 -0300)
commit7cc72553ac03ec20afe2dec91dce4624ccd379b8
treef7c13bdc5b3c28b3ace30dff497b83958ca096b8
parenta3df50abeb7372fd0f1973f885fb8d634ac4e739
perf tools: Check vmlinux/kallsyms arguments in all tools

Only perf report checked the validity of these arguments so apply the
same check to all tools that read them for consistency.

Signed-off-by: James Clark <james.clark@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Denis Nikitin <denik@chromium.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20211018134844.2627174-3-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-c2c.c
tools/perf/builtin-probe.c
tools/perf/builtin-record.c
tools/perf/builtin-sched.c
tools/perf/builtin-script.c
tools/perf/builtin-top.c