aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2016-04-13 08:21:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-04-14 11:57:54 +0000
commitb26dc73018d2e3a68cad0cf0bad902a8637f9bdf (patch)
tree5bde43b441f56287898616365d33dfe89e76e5cc /tools/perf/util/scripting-engines/trace-event-python.c
parentperf ordered_events: Introduce reinit() (diff)
downloadkernel-b26dc73018d2e3a68cad0cf0bad902a8637f9bdf.tar.gz
kernel-b26dc73018d2e3a68cad0cf0bad902a8637f9bdf.zip
perf session: Make ordered_events reusable
ordered_events__free() leaves linked lists and timestamps not cleared, so unable to be reused after ordered_events__free(). Which is inconvenient after 'perf record' supports generating multiple perf.data output and process build-ids for each of them. Use ordered_events__reinit() for this. Signed-off-by: Wang Nan <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Zefan Li <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: He Kuang <[email protected]> [ Split from larger patch ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions