Skip to content
Commit f339093c authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Bruce Ashfield
Browse files

trace_events_trigger: fixup for v5.10.113 backport on -rt



The v5.10.113 brought a backport of commit ce33c845 "tracing:
Dump stacktrace trigger to the corresponding instance" and in that
backport it was switched from the three arg instance of __trace_stack()
to the 4 arg instance which was necessary for the older v5.10 baseline.

However the v5.10-rt has a pre-mainline snapshot of the trace reduction
args;  commit 36590c50 "tracing: Merge
irqflags + preempt counter." -- so it in fact needs the non-converted
mainline backport.  So switch back to the 3 arg instance to solve:

  kernel/trace/trace_events_trigger.c:1227:17: error: too many arguments
  to function '__trace_stack'

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 88b754b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment