• Arnaldo Carvalho de Melo's avatar
    perf inject: Remove static variables · 5ded57ac
    Arnaldo Carvalho de Melo authored
    We want to reduce the impact that each of the builtins has on perf as a
    whole, so use the superclassing of perf_tool mechanizm to move its
    config knobs to the stack, so that only if we use that tool, its impact
    will be felt.
    
    In this case is more about consistency, as the impact of this tool is
    minimal.
    
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Namhyung Kim <namhyung@gmail.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lkml.kernel.org/n/tip-z2b3matvawihtenmez9hkcja@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    5ded57ac
builtin-inject.c 6.63 KB