• Arnaldo Carvalho de Melo's avatar
    perf tools: Pass the struct opt to the wildcard parsing routine · 17ea1b70
    Arnaldo Carvalho de Melo authored
    It is needed because it will call parse_event for each tracepoint
    name that matches, and we pass the perf_evlist via opt->value.
    
    Problem introduced in 4503fdd where my assumption about opt being
    always non NULL made me not look at callers of parse_events outside
    builtin-*.c.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    17ea1b70
parse-events.c 21.9 KB