Re: [PATCH v1 8/8] perf c2c: Update documentation for display option 'llc'

From: Jiri Olsa
Date: Tue Oct 20 2020 - 03:27:09 EST


On Thu, Oct 15, 2020 at 03:50:41PM +0100, Leo Yan wrote:
> Since the new display option 'llc' is introduced, this patch is to
> update the documentation to reflect it.
>
> Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
> ---
> tools/perf/Documentation/perf-c2c.txt | 18 ++++++++++++++----
> 1 file changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt
> index c81d72e3eecf..eadce62ecd28 100644
> --- a/tools/perf/Documentation/perf-c2c.txt
> +++ b/tools/perf/Documentation/perf-c2c.txt
> @@ -109,7 +109,8 @@ REPORT OPTIONS
>
> -d::
> --display::
> - Switch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default.
> + Switch to HITM type (rmt, lcl) or LLC load access (llc) to display
> + and sort on. Total HITMs as default.

ok, forget the doc update I asked in previous reply ;-)

thanks,
jirka

>
> --stitch-lbr::
> Show callgraph with stitched LBRs, which may have more complete
> @@ -174,12 +175,18 @@ For each cacheline in the 1) list we display following data:
> Cacheline
> - cacheline address (hex number)
>
> - Rmt/Lcl Hitm
> + Rmt/Lcl Hitm (For display with HITM types)
> - cacheline percentage of all Remote/Local HITM accesses
>
> - LLC Load Hitm - Total, LclHitm, RmtHitm
> + LLC Load Hitm - Total, LclHitm, RmtHitm (For display with HITM types)
> - count of Total/Local/Remote load HITMs
>
> + LLC Hit Pct (For display 'llc')
> + - cacheline percentage of all LLC load accesses
> +
> + LLC Hit Total (For display 'llc')
> + - sum of all LLC load accesses
> +
> Total records
> - sum of all cachelines accesses
>
> @@ -207,9 +214,12 @@ For each cacheline in the 1) list we display following data:
>
> For each offset in the 2) list we display following data:
>
> - HITM - Rmt, Lcl
> + HITM - Rmt, Lcl (For display with HITM types)
> - % of Remote/Local HITM accesses for given offset within cacheline
>
> + LLC LD - LclHit, LclHitm (For display 'llc')
> + - % of LLC hits and LLC HITMs accesses for given offset within cacheline
> +
> Store Refs - L1 Hit, L1 Miss
> - % of store accesses that hit/missed L1 for given offset within cacheline
>
> --
> 2.17.1
>