tools: Adopt noinline from kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Jun 2017 14:39:15 +0000 (11:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Jun 2017 18:27:06 +0000 (15:27 -0300)
commit9dd4ca470e03334f95cc96529ba090921aac8eab
tree47b88e8ccc64b296973ec2786d43b40ce64aa0c9
parent0353631aa73e5e468fae1cd699bf860b59ba100d
tools: Adopt noinline from kernel sources

To have a more compact way to ask the compiler not to inline a function
and to make tools/ source code look like kernel code.

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-bis4pqxegt6gbm5dlqs937tn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler-gcc.h
tools/include/linux/compiler.h
tools/perf/tests/bp_signal.c
tools/perf/tests/bp_signal_overflow.c
tools/perf/tests/dwarf-unwind.c