Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [RFC V2 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events | Date | Mon, 05 Mar 2018 09:55:19 -0800 |
| |
Agustin Vega-Frias <agustinv@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
| |