perf callchain: Add callchain_cursor_snapshot()
authorNamhyung Kim <namhyung@kernel.org>
Mon, 10 Sep 2012 04:38:00 +0000 (13:38 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:34:59 +0000 (14:34 +0200)
commitbe1f13e30862ab6b0fffaecd556856a965cefa0c
treeb3a6c81f4d0ff062d1efe75e662f7a4d748007c8
parentb4d3c8bd86c4eda08456691121f83b4e1db46866
perf callchain: Add callchain_cursor_snapshot()

The callchain_cursor_snapshot() is for saving current status of the
callchain.  It'll be used to accumulate callchain information for each node.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arun Sharma <asharma@fb.com>
Tested-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-9-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/util/callchain.h