]> git.baikalelectronics.ru Git - kernel.git/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)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:19:54 +0000 (15:19 -0300)
commitc4e924e6d6c45cbb981030f6c33f91ba3633438e
tree38b2c6d3718a0a33629249db930147495db84709
parent7120742dcaffcebe6a50c906efc841ddf5122e35
perf tools: Move syscall number fallbacks from perf-sys.h to tools/arch/x86/include/asm/

And remove the empty tools/arch/x86/include/asm/unistd_{32,64}.h files
introduced by 5931f3e1c590 ("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>
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]