Re: [PATCH]perf vendor events:Remove P8 HW events which are not supported

From: Arnaldo Carvalho de Melo
Date: Tue Sep 24 2019 - 15:40:00 EST


Em Mon, Sep 09, 2019 at 12:33:33PM +0530, Mamatha Inamdar escreveu:
> This patch is to remove following hardware events
> from JSON file which are not supported on POWER8.
>
> pm_l3_p0_grp_pump
> pm_l3_p0_lco_data
> pm_l3_p0_lco_no_data
> pm_l3_p0_lco_rty

Thanks, applied.

- Arnaldo

> Fixes: c3b4d5c4afb0 ("perf vendor events: Remove P8 HW events which are not supported")
> Note: Unfortunately power8 event list is not publicly available.
> Signed-off-by: Mamatha Inamdar <mamatha4@xxxxxxxxxxxxxxxxxx>
> Acked-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxx>
> ---
> .../perf/pmu-events/arch/powerpc/power8/other.json | 24 --------------------
> 1 file changed, 24 deletions(-)
>
> diff --git a/tools/perf/pmu-events/arch/powerpc/power8/other.json b/tools/perf/pmu-events/arch/powerpc/power8/other.json
> index 9dc2f6b7..b2a3df0 100644
> --- a/tools/perf/pmu-events/arch/powerpc/power8/other.json
> +++ b/tools/perf/pmu-events/arch/powerpc/power8/other.json
> @@ -1776,30 +1776,6 @@
> "PublicDescription": ""
> },
> {,
> - "EventCode": "0xa29084",
> - "EventName": "PM_L3_P0_GRP_PUMP",
> - "BriefDescription": "L3 pf sent with grp scope port 0",
> - "PublicDescription": ""
> - },
> - {,
> - "EventCode": "0x528084",
> - "EventName": "PM_L3_P0_LCO_DATA",
> - "BriefDescription": "lco sent with data port 0",
> - "PublicDescription": ""
> - },
> - {,
> - "EventCode": "0x518080",
> - "EventName": "PM_L3_P0_LCO_NO_DATA",
> - "BriefDescription": "dataless l3 lco sent port 0",
> - "PublicDescription": ""
> - },
> - {,
> - "EventCode": "0xa4908c",
> - "EventName": "PM_L3_P0_LCO_RTY",
> - "BriefDescription": "L3 LCO received retry port 0",
> - "PublicDescription": ""
> - },
> - {,
> "EventCode": "0x84908d",
> "EventName": "PM_L3_PF0_ALLOC",
> "BriefDescription": "lifetime, sample of PF machine 0 valid",

--

- Arnaldo