aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorTaeung Song <treeze.taeung@gmail.com>2016-02-26 00:13:10 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-02-25 16:14:33 -0300
commit8560bae02a948876b26d1d86423cf5e0bb04a815 (patch)
treed32a8c3cbd5c8c8a4e1bf3b46adbfd8e681ee8c3 /tools/perf/util/hist.c
parentperf script: Exception handling when the print fmt is empty (diff)
downloadwireguard-linux-8560bae02a948876b26d1d86423cf5e0bb04a815.tar.xz
wireguard-linux-8560bae02a948876b26d1d86423cf5e0bb04a815.zip
perf script: Remove duplicated code and needless script_spec__findnew()
script_spec_register() called two functions: script_spec__find() and script_spec__findnew(). But this way script_spec__find() gets called two times, directly and via script_spec__findnew(). So remove script_spec__findnew() and make script_spec_register() only call once script_spec__find(). Signed-off-by: Taeung Song <treeze.taeung@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1456413190-12378-1-git-send-email-treeze.taeung@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.c')
0 files changed, 0 insertions, 0 deletions