diff options
author | Ian Rogers <[email protected]> | 2020-05-30 01:20:13 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-06-01 12:24:21 -0300 |
commit | 21f2b7c13335eeec498569927d87c7381c3b54fa (patch) | |
tree | abb274291b945d3690e9e10622b82e26c0f7902d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9300acc6fed8e957c8d60f6f8e4451b508feea2c (diff) |
tools compiler.h: Add attribute to disable tail calls
Tail call optimizations can remove stack frames that are used in
unwinding tests. Add an attribute that can be used to disable the tail
call optimization. Tested on clang and GCC.
Committer notes:
Old versions of clang don't like that __attribute__((optimize)), so add
an ifdef to make it go away.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: [email protected]
Cc: Jakub Kicinski <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Quentin Monnet <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions