diff options
| author | Jiri Olsa <[email protected]> | 2018-03-07 16:50:06 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-08 11:30:44 -0300 |
| commit | 9f87498f1cb72958c6f8725eb93d2f7ef81fa11e (patch) | |
| tree | facec74738cca821c7b7fc7c93c0f860cf74cc17 /tools/perf/scripts/python/sched-migration.py | |
| parent | 915b4e27f1d32b3c7de4874ac1e3fe1f801151ca (diff) | |
perf tools: Add refcnt into struct mem_info
It's passed along several hists entries in --hierarchy mode, so it's
better we keep track of it.
The current fail I see is that it gets removed in hierarchy --mem-mode
mode, where it's shared in the different hierarchies, but removed from
the template hist entry, so the report crashes.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Rename mem_info__aloc() to mem_info__new(), to fix the typo and use the convention for constructors ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions