linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Taeung Song <treeze.taeung@gmail.com>
To: linux-trace-users@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: How to recheck 'maxactive' ?
Date: Sun, 22 Mar 2020 23:06:20 +0900	[thread overview]
Message-ID: <4762764a-6df7-bc93-ed60-e336146dce1f@gmail.com> (raw)

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

             reply	other threads:[~2020-03-22 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-22 14:06 Taeung Song [this message]
2020-03-23  6:47 ` How to recheck 'maxactive' ? Masami Hiramatsu
2020-03-23 12:54   ` Taeung Song
2020-03-23 13:04   ` Steven Rostedt
2020-03-24  6:40     ` Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4762764a-6df7-bc93-ed60-e336146dce1f@gmail.com \
    --to=treeze.taeung@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-trace-users@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).