[PATCH 0/2] [GIT PULL] tracing: More fixes for 4.20
From: Steven Rostedt
Date: Thu Nov 29 2018 - 22:19:11 EST
Linus,
This includes two more fixes:
- Change idx variable in DO_TRACE macro to __idx to avoid name conflicts.
A kvm event had "idx" as a parameter and it confused the macro.
- Fix a race where interrupts would be traced when set_graph_function was set.
The previous patch set increased a race window that tricked the function graph
tracer to think it should trace interrupts when it really should not have.
The bug has been there before, but was seldom hit. Only the last patch series
made it more common.
Note, this is on top of a previous git pull that I have submitted:
http://lkml.kernel.org/r/20181127224031.76681fe0@xxxxxxxxxxxxxxxxx
Please pull the latest trace-v4.20-rc4 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
trace-v4.20-rc4
Tag SHA1: 9ecaefab677642b895cdb44889a2baff3e7436bc
Head SHA1: 5cf99a0f3161bc3ae2391269d134d6bf7e26f00e
Steven Rostedt (VMware) (1):
tracing/fgraph: Fix set_graph_function from showing interrupts
Zenghui Yu (1):
tracepoint: Use __idx instead of idx in DO_TRACE macro to make it unique
----
include/linux/tracepoint.h | 6 ++--
kernel/trace/trace.h | 57 ++++++++++++++++++++++++++++++++++--
kernel/trace/trace_functions_graph.c | 4 +++
kernel/trace/trace_irqsoff.c | 2 ++
kernel/trace/trace_sched_wakeup.c | 2 ++
5 files changed, 65 insertions(+), 6 deletions(-)