diff options
| author | Jin Yao <[email protected]> | 2017-12-05 14:03:03 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-27 15:15:43 +0000 |
| commit | 8efb2df1288bc1bcc3711a97028620717319f138 (patch) | |
| tree | cfae2795ad41a60cbd2d21fe2c331dbdcc30d8ff /tools/perf/builtin-script.c | |
| parent | perf stat: Extend rbtree to support per-thread shadow stats (diff) | |
| download | kernel-8efb2df1288bc1bcc3711a97028620717319f138.tar.gz kernel-8efb2df1288bc1bcc3711a97028620717319f138.zip | |
perf stat: Create the runtime_stat init/exit function
It mainly initializes and releases the rblist which is defined in struct
runtime_stat.
For the original rblist 'runtime_saved_values', it's still kept there
for keeping the patch bisectable.
The rblist 'runtime_saved_values' will be removed in later patch at
switching time.
Signed-off-by: Jin Yao <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Rename 'stat' variables to 'st' to build on centos:{5,6} and others where it shadows a global declaration ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
