perf strlist: Make dupstr be the default and part of an extensible config parm
[firefly-linux-kernel-4.4.55.git] / tools / perf / builtin-trace.c
index 0ebf55bf20b356e46b92fb6478a4bac38fad2329..3a3173c186c021b52cc9cfdf5c52781735f98daa 100644 (file)
@@ -2931,7 +2931,7 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
                trace.not_ev_qualifier = *s == '!';
                if (trace.not_ev_qualifier)
                        ++s;
-               trace.ev_qualifier = strlist__new(true, s);
+               trace.ev_qualifier = strlist__new(s, NULL);
                if (trace.ev_qualifier == NULL) {
                        fputs("Not enough memory to parse event qualifier",
                              trace.output);