diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-03-02 12:55:49 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-03-03 19:07:19 -0300 |
| commit | 120010cb1eea151d38a3e66f5ffc79a0c3110292 (patch) | |
| tree | 149786c6b833f4c80e6229b6e9b67b8c2bb980ea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | e3ba76deef23064fc272424b86b506cd80b04fc5 (diff) | |
tools build: Add test for sched_getcpu()
Instead of trying to go on adding more ifdef conditions, do a feature
test and define HAVE_SCHED_GETCPU_SUPPORT instead, then use it to
provide the prototype. No need to change the stub, as it is already a
__weak symbol.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[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