Re: [PATCH] trace-cmd utest: Add test cases for trace-cmd reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Oct 2024 12:38:31 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> 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




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux