linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Metin Kaya <metin.kaya@arm.com>
Cc: linux-trace-devel@vger.kernel.org
Subject: Re: [PATCH] trace-cmd utest: Add test cases for trace-cmd reset
Date: Tue, 15 Oct 2024 13:38:49 -0400	[thread overview]
Message-ID: <20241015133849.1d3f3bf6@gandalf.local.home> (raw)
In-Reply-To: <20241015123831.347ff0f4@gandalf.local.home>

On Tue, 15 Oct 2024 12:38:31 -0400
Steven Rostedt <rostedt@goodmis.org> wrote:

> > +
> > +	/* Ensure the kretprobe is listed in "trace-cmd stat" output. */
> > +	ret = grep_match("r128:kprobes/r_do_sys_open_0 do_sys_open", "stat", NULL);  
> 
> Note, this failed for me, because mine had "r16:kprobes..."

BTW, this works though:

	ret = grep_match("r[0-9]*:kprobes/r_do_sys_open_0 do_sys_open", "stat", NULL);  

-- Steve

      reply	other threads:[~2024-10-15 17:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-15 14:08 [PATCH] trace-cmd utest: Add test cases for trace-cmd reset Metin Kaya
2024-10-15 16:38 ` Steven Rostedt
2024-10-15 17:38   ` Steven Rostedt [this message]

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=20241015133849.1d3f3bf6@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=metin.kaya@arm.com \
    /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).