lkml.org 
[lkml]   [2022]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] tracing: make tp_printk work on syscall tracepoints
Date
Currently the tp_printk option has no effect on syscall tracepoint.
When adding the kernel option parameter tp_printk, then:

echo 1 > /sys/kernel/debug/tracing/events/syscalls/enable

When running any application, no trace information is printed on the
terminal.

Now added printk for syscall tracepoints.

Jeff Xie (3):
tracing: make tracepoint_iter_lock public
tracing: make tracepoint_printk_key public
tracing: make tp_printk work on syscall tracepoints

kernel/trace/trace.c | 4 ++--
kernel/trace/trace.h | 2 ++
kernel/trace/trace_syscalls.c | 25 +++++++++++++++++++++++++
3 files changed, 29 insertions(+), 2 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2022-03-29 18:40    [W:0.057 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site