diff options
author | Naveen N. Rao <[email protected]> | 2016-01-11 13:48:00 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-01-11 19:22:21 -0300 |
commit | d5ef3140351450d240f864208317f5665e7bbd1c (patch) | |
tree | 6bd07922bd3cd1eeb9204423a2b8c1462b3edb82 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 935e6bd310f20d3371ae6bd6f01dd3430a4123b6 (diff) |
perf bpf: Fix build breakage due to libbpf
perf build is currently (v4.4-rc5) broken on powerpc:
bpf.c:28:4: error: #error __NR_bpf not defined. libbpf does not support
your arch.
# error __NR_bpf not defined. libbpf does not support your arch.
^
Fix this by including tools/scripts/Makefile.arch for the proper $ARCH
macro. While at it, remove redundant LP64 macro definition.
Also, since libbpf require $(srctree) now, detect the path of srctree
like perf.
Signed-off-by: Naveen N. Rao <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Cc: Wang Nan <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[Use tools/scripts/Makefile.arch]
Signed-off-by: Wang Nan <[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