]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Introduce callchain_cursor__copy()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 6 Dec 2016 03:40:02 +0000 (12:40 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Dec 2016 15:00:33 +0000 (12:00 -0300)
commit1fdcf7184ad77ed654432bcd702ea3cab83c1275
tree05b780fa0ef975f55c1695a14f3631215e4d59f2
parentbfd3f9e5b8a6a9ba7bc259941270173379613132
perf callchain: Introduce callchain_cursor__copy()

The callchain_cursor__copy() function is to save current callchain
captured by a cursor.  It'll be used to keep callchains when switching
to idle task for each cpu.

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