]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Add struct annotate_args
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:29 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Nov 2017 12:39:58 +0000 (09:39 -0300)
commitd84c8f832b0767b86e3343ad41128fd16b62a761
treeaf9d639cad713187af274c7636a2e0ec03b3b349
parent65337043dbf755b0f549f492ee0db084129d6df8
perf annotate: Add struct annotate_args

Adding struct annotate_args to reduce the number of arguments, that need
to travel all the way to line allocation. This makes the code easier to
read and ease up the changes for following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171011150158.11895-7-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c