Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Parse the data source field of SPE record #123

@adamliyi

Description

@adamliyi

On Altra, the SPE record contains Data-Source field:

.  00000113:  49 00                                           LD GP-REG
.  00000115:  52 1e 03                                        EV RETIRED L1D-ACCESS L1D-REFILL TLB-ACCESS LLC-ACCESS LLC-REFILL
.  00000118:  99 51 01                                        LAT 337 ISSUE
.  0000011b:  98 f5 01                                        LAT 501 TOT
.  0000011e:  b2 50 9e d7 f1 3e 40 ff 00                      VA 0xff403ef1d79e50
.  00000127:  9a 01 00                                        LAT 1 XLAT
.  0000012a:  b3 50 9e d7 71 3f 40 00 80                      PA 0x403f71d79e50 ns=1
.  00000133:  43 0c                                           DATA-SOURCE 12
.  00000135:  00 00                                           PAD
.  00000137:  71 b3 9a e9 bd 3e 07 00 00                      TS 7966055570099
.  00000140:  b0 88 b6 cb 8f 22 d4 ff c0                      PC 0xffd4228fcbb688 el2 ns=1
.  00000149:  00 00 00 00 00 00 00 00 00 00                   PAD

We need to parse the 'Data-Source' field and display in 'perf mem report'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions