diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-12 12:19:09 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-12 15:20:41 -0300 |
commit | 1c1a3a4729aae712c55e001e151ef008d030d4a7 (patch) | |
tree | 62fd90d09b08cf1a48eaa85ea8a21d7b2cc55b5d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c8a3f7de76717a994c208e137156c077b1e93092 (diff) |
perf tools: Add feature detection for gelf_getnote()
That is not present on some libelf implementations, such as the one used
in Alpine Linux: libelf-0.8.13.
This ends up disabling the SDT code, that relies on this function.
One alternative would be to provide an weak fallback implementation or
the open coded variant used by the buildid sysfs notes reading code.
Cc: Adrian Hunter <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Hemant Kumar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions