aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-02-15 13:26:27 +0100
committerArnaldo Carvalho de Melo <[email protected]>2018-02-16 14:25:56 -0300
commitc53b4bb02b45ceec7a590e47820afbb5cef0bb81 (patch)
treeffe56249f50fd1655934f65300c0f79e2ea2635b /tools/perf/scripts/python/export-to-postgresql.py
parentf1f8ad52f8bf1239282737a2a5c3bd450300cc78 (diff)
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 <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions