diff options
| author | Jin Yao <[email protected]> | 2017-12-05 22:03:01 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-12-27 12:15:42 -0300 |
| commit | e5fcc2abc353be94548080d84de3269ef6cc2af6 (patch) | |
| tree | e6e589579790d60b5331eba9d69994e72f1a9672 /tools/lib/api/cpu.c | |
| parent | faaf95677f33dac910b6cbe917cabea43c8c1616 (diff) | |
perf stat: Define a structure for per-thread shadow stats
Perf has a set of static variables to record the runtime shadow metrics
stats.
While if we want to record the runtime shadow stats for per-thread, it
will be the limitation. This patch creates a structure and the next
patches will use this structure to update the runtime shadow stats for
per-thread.
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]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/cpu.c')
0 files changed, 0 insertions, 0 deletions