[RFC V2 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events
Andi Kleen
ak at linux.intel.com
Mon Mar 5 09:55:19 PST 2018
Agustin Vega-Frias <agustinv at codeaurora.org> writes:
>
> An option to keep backward compatibility and consistency would be
> to wrap the pattern/string passed in *'s, that way we can just use
> fnmatch and have all the examples Jiri brought up work the same.
> With that in place we can actually also drop the explicit ignoring
> of the uncore_ prefix since the globbing would take care of that.
Prepending with * would seem dangerous, could result in false
matches. But adding it at the end should be ok.
-Andi
More information about the linux-arm-kernel
mailing list