diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-01-02 22:02:41 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-01-02 22:04:07 -0500 |
commit | b8299d362d0837ae39e87e9019ebe6b736e0f035 (patch) | |
tree | 01a1fb51b5aae3c562f26ad0cfe2f37d5bd922d4 /tools/perf/util/trace-event-scripting.c | |
parent | d2ccbccb5444e9141b33cf5399927737e9ff1c3d (diff) |
tracing: Have stack tracer compile when MCOUNT_INSN_SIZE is not defined
On some archs with some configurations, MCOUNT_INSN_SIZE is not defined, and
this makes the stack tracer fail to compile. Just define it to zero in this
case.
Link: https://lore.kernel.org/r/202001020219.zvE3vsty%[email protected]
Cc: [email protected]
Fixes: 4df297129f622 ("tracing: Remove most or all of stack tracer stack size from stack_max_size")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions