aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2019-12-18 07:44:26 +0000
committerSteven Rostedt (VMware) <[email protected]>2019-12-21 21:08:22 +0000
commit01f36a554e3ef32f9fc4b81a4437cf08fd0e4742 (patch)
treef0ef6325d08529b98aee0e88ff5f3612e2ec5709 /tools/perf/builtin-annotate.c
parenttracing: Fix lock inversion in trace_event_enable_tgid_record() (diff)
downloadkernel-01f36a554e3ef32f9fc4b81a4437cf08fd0e4742.tar.gz
kernel-01f36a554e3ef32f9fc4b81a4437cf08fd0e4742.zip
samples/trace_printk: Wait for IRQ work to finish
trace_printk schedules work via irq_work_queue(), but doesn't wait until it was processed. The kprobe_module.tc testcase does: :;: "Load module again, which means the event1 should be recorded";: modprobe trace-printk grep "event1:" trace so the grep which checks the trace file might run before the irq work was processed. Fix this by adding a irq_work_sync(). Link: http://lore.kernel.org/linux-trace-devel/[email protected] Cc: [email protected] Fixes: af2a0750f3749 ("selftests/ftrace: Improve kprobe on module testcase to load/unload module") Signed-off-by: Sven Schnelle <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions