All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] tracing - signal tracer, support multiple pids in set_pid_ftrace
@ 2009-09-14 10:14 jolsa
  2009-09-14 10:14 ` [RFC PATCH 1/2] tracing - signal tracer jolsa
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: jolsa @ 2009-09-14 10:14 UTC (permalink / raw)
  To: mingo, rostedt; +Cc: linux-kernel

I was debugging some ptrace applications and got to the idea of 
tracing signals - signal tracer. There's probably possibility to 
trace more info than just signal delivery info (like ignored 
signals deliveries, queue status...).

While doing this I realized it might be worth to have ability to trace 
more independent processes via set_pid_ftrace file.

Althought I'm sending this as RFC, attached patches work for me. 
I'm open to any suggestions/comments/ideas.

1/2 - signal trace
2/2 - multiple pids support for set_pid_ftrace file

thanks,
jirka

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
 include/linux/signaltrace.h |   22 ++++
 include/linux/tracehook.h   |   14 +++
 kernel/signal.c             |    3 +
 kernel/trace/Kconfig        |   11 ++
 kernel/trace/Makefile       |    1 +
 kernel/trace/ftrace.c       |  226 +++++++++++++++++++++++++++++++------------
 kernel/trace/trace.h        |   13 ++-
 kernel/trace/trace_signal.c |  132 +++++++++++++++++++++++++
 8 files changed, 356 insertions(+), 66 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-14 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-14 10:14 [RFC PATCH 0/2] tracing - signal tracer, support multiple pids in set_pid_ftrace jolsa
2009-09-14 10:14 ` [RFC PATCH 1/2] tracing - signal tracer jolsa
2009-09-14 10:14 ` [RFC PATCH 2/2] tracing - support multiple pids in set_pid_ftrace file jolsa
2009-09-14 12:20 ` [RFC PATCH 0/2] tracing - signal tracer, support multiple pids in set_pid_ftrace Steven Rostedt
2009-09-14 13:59 ` Daniel Walker
2009-09-14 14:05   ` Jiri Olsa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.