]> git.hungrycats.org Git - linux/commit
perf tools: Move syscall number fallbacks from perf-sys.h to tools/arch/x86/include...
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jul 2016 21:28:43 +0000 (18:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2018 13:35:57 +0000 (15:35 +0200)
commit60904a578815a6f4abcc0eafadacc152589359fd
tree2658fb063c592835148e4d9b0dc028d8a268303d
parent654ee679e1a16eafc65c541f7dc71471b9608e04
perf tools: Move syscall number fallbacks from perf-sys.h to tools/arch/x86/include/asm/

commit cec07f53c398f22576df77052c4777dc13f14962 upstream.

And remove the empty tools/arch/x86/include/asm/unistd_{32,64}.h files
introduced by eae7a755ee81 ("perf tools, x86: Build perf on older
user-space as well").

This way we get closer to mirroring the kernel for cases where __NR_
can't be found for some include path/_GNU_SOURCE/whatever scenario.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-kpj6m3mbjw82kg6krk2z529e@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/arch/x86/include/asm/unistd_32.h [new file with mode: 0644]
tools/arch/x86/include/asm/unistd_64.h [new file with mode: 0644]
tools/perf/config/Makefile
tools/perf/perf-sys.h
tools/perf/util/include/asm/unistd_32.h [deleted file]
tools/perf/util/include/asm/unistd_64.h [deleted file]