linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to recheck 'maxactive' ?
@ 2020-03-22 14:06 Taeung Song
  2020-03-23  6:47 ` Masami Hiramatsu
  0 siblings, 1 reply; 5+ messages in thread
From: Taeung Song @ 2020-03-22 14:06 UTC (permalink / raw)
  To: linux-trace-users; +Cc: Masami Hiramatsu, David S. Miller

Hi,

After setting 'maxactive' for kretprobe,
how can I recheck the value of 'maxactive' ?
For example, in order to distinguish the difference
between two kretprobe events
(kmem_cache_alloc_node and kmem_cache_alloc_node10)

   $ cd /sys/kernel/debug/tracing
   $ echo 'r:kmem_cache_alloc_node kmem_cache_alloc_node' >> kprobe_events
   $ echo 'r10:kmem_cache_alloc_node10 kmem_cache_alloc_node' >> 
kprobe_events

   $ cat kprobe_events
   r:kprobes/kmem_cache_alloc_node kmem_cache_alloc_node
   r:kprobes/kmem_cache_alloc_node10 kmem_cache_alloc_node

Thanks,
Taeung

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

end of thread, other threads:[~2020-03-24  6:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 14:06 How to recheck 'maxactive' ? Taeung Song
2020-03-23  6:47 ` Masami Hiramatsu
2020-03-23 12:54   ` Taeung Song
2020-03-23 13:04   ` Steven Rostedt
2020-03-24  6:40     ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).