lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/4] perf: Add new macros for mem_hops field
    On Mon, Dec 06, 2021 at 02:47:46PM +0530, Kajol Jain wrote:
    > 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 <kjain@linux.ibm.com>

    Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>

    \
     
     \ /
      Last update: 2021-12-10 09:22    [W:3.794 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site