mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing/probes: allow no event name input when create group
@ 2022-05-01  9:34 Linyu Yuan
  2022-05-01  9:34 ` [PATCH 1/2] tracing/probes: auto generate events name when create a group of events Linyu Yuan
  2022-05-01  9:34 ` [PATCH 2/2] tracing/probes: make match function safe Linyu Yuan
  0 siblings, 2 replies; 9+ messages in thread
From: Linyu Yuan @ 2022-05-01  9:34 UTC (permalink / raw)
  To: Steven Rostedt, Ingo Molnar; +Cc: linux-kernel, Linyu Yuan

take kprobe event as example, when create a group of events,
p[:[GRP/]EVENT] [MOD:]KSYM[+OFFS]|KADDR [FETCHARGS],
according to this format, we must input EVENT name,

this change allow only GRP/ input, EVENT name auto generate from KSYM,
p[:[GRP/][EVENT]] [MOD:]KSYM[+OFFS]|KADDR [FETCHARGS]

siliar change apply to eprobe and uprobe.

Linyu Yuan (2):
  tracing/probes: auto generate events name when create a group of
    events
  tracing/probes: make match function safe

 Documentation/trace/kprobetrace.rst  |  8 +++---
 Documentation/trace/uprobetracer.rst |  8 +++---
 kernel/trace/trace_dynevent.c        |  2 +-
 kernel/trace/trace_eprobe.c          | 50 ++++++++++++++++++++++++------------
 kernel/trace/trace_kprobe.c          | 21 ++++++++++-----
 kernel/trace/trace_probe.c           |  9 ++++++-
 kernel/trace/trace_probe.h           |  4 +++
 kernel/trace/trace_uprobe.c          | 17 ++++++++----
 8 files changed, 81 insertions(+), 38 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-05-29  2:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-01  9:34 [PATCH 0/2] tracing/probes: allow no event name input when create group Linyu Yuan
2022-05-01  9:34 ` [PATCH 1/2] tracing/probes: auto generate events name when create a group of events Linyu Yuan
2022-05-24 22:31   ` Steven Rostedt
2022-05-25  1:33     ` Linyu Yuan
2022-05-26 23:36       ` Masami Hiramatsu
2022-05-01  9:34 ` [PATCH 2/2] tracing/probes: make match function safe Linyu Yuan
2022-05-24 22:34   ` Steven Rostedt
2022-05-26 16:03     ` Masami Hiramatsu
2022-05-29  2:27       ` Linyu Yuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®