Re: perf/ftrace: fuzzer triggers another warning with PERF_EVENT_IOC_SET_FILTER

From: Steven Rostedt
Date: Thu Jun 18 2015 - 17:19:31 EST


On Thu, 18 Jun 2015 17:18:47 -0400 (EDT)
Vince Weaver <vincent.weaver@xxxxxxxxx> wrote:


> As an aside, I can't find any documentation of how the "~" glob operator

Hmm, I need to add documentation then.

> works in ftrace filters. Can you give a quick example of a valid filter
> that uses it?

It works with strings...

for sched:sched_switch

prev_comm ~ "ls*"

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/