aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/annotate.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-11-15 11:05:59 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-17 15:16:25 +0000
commit9e4e0a9d2ef37c7bc60c32e2a3189bd1f04067a5 (patch)
tree7ccc19bd67c1edd7fd8a299a4d102669c025accc /tools/perf/ui/gtk/annotate.c
parentperf top: Fix crash when annotating symbol (diff)
downloadkernel-9e4e0a9d2ef37c7bc60c32e2a3189bd1f04067a5.tar.gz
kernel-9e4e0a9d2ef37c7bc60c32e2a3189bd1f04067a5.zip
perf tools: Change (symbol|annotation)__calc_percent return type to void
There's no need for symbol__calc_percent and annotation__calc_percent functions to return any value, since it's always zero. Changing both function to return void. Signed-off-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/gtk/annotate.c')
0 files changed, 0 insertions, 0 deletions