• Leo Yan's avatar
    perf c2c: Use explicit names for display macros · c82ccc3a
    Leo Yan authored
    Perf c2c tool has an assumption that it heavily depends on HITM snoop
    type to detect cache false sharing, unfortunately, HITM is not supported
    on some architectures.
    
    Essentially, perf c2c tool wants to find some very costly snooping
    operations for false cache sharing, this means it's not necessarily
    to stick using HITM tags and we can explore other snooping types
    (e.g. SNOOPX_PEER).
    
    For this reason, this patch renames HITM related display macros with
    suffix '_HITM', so it can be distinct if later add more display types
    for on other snooping type.
    Reviewed-by: default avatarAli Saidi <alisaidi@amazon.com>
    Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
    Tested-by: default avatarAli Saidi <alisaidi@amazon.com>
    Acked-by: default avatarIan Rogers <irogers@google.com>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Anshuman Khandual <anshuman.khandual@arm.com>
    Cc: German Gomez <german.gomez@arm.com>
    Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: James Clark <james.clark@arm.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: John Garry <john.garry@huawei.com>
    Cc: Kajol Jain <kjain@linux.ibm.com>
    Cc: Like Xu <likexu@tencent.com>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Timothy Hayes <timothy.hayes@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: linux-arm-kernel@lists.infradead.org
    Link: https://lore.kernel.org/r/20220811062451.435810-10-leo.yan@linaro.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    c82ccc3a
builtin-c2c.c 77.5 KB