diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-02-15 13:26:27 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-02-16 18:25:56 +0100 |
commit | c53b4bb02b45ceec7a590e47820afbb5cef0bb81 (patch) | |
tree | ffe56249f50fd1655934f65300c0f79e2ea2635b /net | |
parent | perf stat: Add support to print counts after a period of time (diff) | |
download | linux-c53b4bb02b45ceec7a590e47820afbb5cef0bb81.tar.xz linux-c53b4bb02b45ceec7a590e47820afbb5cef0bb81.zip |
tools lib symbol: Skip non-address kallsyms line
Adding check on failed attempt to parse the address and skip the line
parsing early in that case.
The address can be replaced with '(null)' string in case user don't have
enough permissions, like:
$ cat /proc/kallsyms
(null) A irq_stack_union
(null) A __per_cpu_start
...
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180215122635.24029-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions