aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2015-12-07 22:21:46 -0600
committerArnaldo Carvalho de Melo <[email protected]>2015-12-09 13:42:03 -0300
commit2bdb2c2729d2ba2f2f90b729d04254308096c5a0 (patch)
treefd865389ddfa21385c2a72180696f36e5bf23301 /tools/perf/builtin-annotate.c
parent1fe143c5f928e3d117355ce2655bac0eb80c1aa3 (diff)
perf tools: Save cmdline arguments earlier
perf_env__set_cmdline() only saves the arguments the first time it's called. It doesn't need to be called every time the options and suboptions are parsed. Instead it can just be called once. This also has the advantage of making the option parsing code less perf-specific so it can be moved out to a library. Signed-off-by: Josh Poimboeuf <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/19b76a5aa1b688bd635bd65d80bbc103a978d75e.1449548395.git.jpoimboe@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions