diff options
| author | Kajol Jain <[email protected]> | 2021-12-06 14:47:46 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-12-16 21:31:44 +1100 |
| commit | cb1c4aba055f928ffae0c868e8dfe08eeab302e7 (patch) | |
| tree | 7c0af7590f0518a6d34519b2b40caf02706719fa /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 708da3ff1d67392500bdb8789d5635cd98f9ea92 (diff) | |
perf: Add new macros for mem_hops field
Add new macros for mem_hops field which can be used to
represent remote-node, socket and board level details.
Currently the code had macro for HOPS_0, which corresponds
to data coming from another core but same node.
Add new macros for HOPS_1 to HOPS_3 to represent
remote-node, socket and board level data.
For ex: Encodings for mem_hops fields with L2 cache:
L2 - local L2
L2 | REMOTE | HOPS_0 - remote core, same node L2
L2 | REMOTE | HOPS_1 - remote node, same socket L2
L2 | REMOTE | HOPS_2 - remote socket, same board L2
L2 | REMOTE | HOPS_3 - remote board L2
Signed-off-by: Kajol Jain <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions