diff options
author | Wang Nan <[email protected]> | 2016-04-13 08:21:04 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-04-14 08:57:54 -0300 |
commit | b26dc73018d2e3a68cad0cf0bad902a8637f9bdf (patch) | |
tree | 5bde43b441f56287898616365d33dfe89e76e5cc /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 4532f642974d871f9a50e9a09bc482eaed5394f6 (diff) |
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/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions