]> 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)
commitdd22ae9724fc3a301bcb17ac8fa48bb32ed5037e
treeaf9d639cad713187af274c7636a2e0ec03b3b349
parent810331b654f28f46bcdf15606ddc17568f207a79
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