OSDN Git Service

perf c2c: Use more explicit headers for HITM
authorLeo Yan <leo.yan@linaro.org>
Wed, 14 Oct 2020 05:09:18 +0000 (06:09 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Oct 2020 12:34:47 +0000 (09:34 -0300)
commit0fbe2fe965cb684e00ab4e94d266b2cb46a63dc5
tree18caf9f04160dcde27e6c2add9b0c5e21911ab1e
parentfdd32d7e8e81de8ce93e552b57838ce5413bf5e9
perf c2c: Use more explicit headers for HITM

Local and remote HITM use the headers 'Lcl' and 'Rmt' respectively,
suppose if we want to extend the tool to display these two dimensions
under any one metrics, users cannot understand the semantics if only
based on the header string 'Lcl' or 'Rmt'.

To explicit express the meaning for HITM items, this patch changes the
headers string as "LclHitm" and "RmtHitm", the strings are more readable
and this allows to extend metrics for using HITM items.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Tested-by: Joe Mario <jmario@redhat.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20201014050921.5591-6-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c