diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-02 22:02:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-14 20:06:59 +0100 |
commit | c9190965526813709cb6bc206d00b1c868e3f68b (patch) | |
tree | 1f2c38a84e923d8c66b2fd6871424bdaeba3a41a /include/trace | |
parent | 5ab4bb7b406fc803de4dc96416bfb919bd755f7c (diff) |
tracing: Have stack tracer compile when MCOUNT_INSN_SIZE is not defined
commit b8299d362d0837ae39e87e9019ebe6b736e0f035 upstream.
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%lkp@intel.com
Cc: stable@vger.kernel.org
Fixes: 4df297129f622 ("tracing: Remove most or all of stack tracer stack size from stack_max_size")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions