[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d496ee4f-641a-a726-ab3f-62b587422b61@huawei.com>
Date: Mon, 27 Mar 2023 18:49:54 +0800
From: Yicong Yang <yangyicong@...wei.com>
To: <mathieu.poirier@...aro.org>, <suzuki.poulose@....com>,
<jonathan.cameron@...wei.com>, <corbet@....net>,
<linux-kernel@...r.kernel.org>, <linux-doc@...r.kernel.org>
CC: <yangyicong@...ilicon.com>, <alexander.shishkin@...ux.intel.com>,
<helgaas@...nel.org>, <linux-pci@...r.kernel.org>,
<prime.zeng@...wei.com>, <linuxarm@...wei.com>
Subject: Re: [PATCH 0/4] Improve PTT filter interface and some fixes
A gentle ping...
Thanks.
On 2023/3/15 17:43, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@...ilicon.com>
>
> This series tends to improve the PTT's filter interface in 2 aspects (Patch 2&3):
> - Support dynamically filter updating to response to hotplug
> Previous the supported filter list is settled down once the driver probed and
> it maybe out-of-date if hotplug events happen later. User need to reload the
> driver to update list. Patch 1/2 enable the driver to update the list by
> registering a PCI bus notifier and the filter list will always be the latest.
> - Export the available filters through sysfs
> Previous user needs to calculate the filters and filter value using device's
> BDF number, which requires the user to know the hardware well. Patch 3/3 tends
> to export the available filter information through sysfs attributes, the filter
> value will be gotten by reading the file. This will be more user friendly.
>
> Also includes a fix and an improve. Patch 1 tends to only export the online CPUs
> supported by the PTT, this will make perf work properly when there's offline CPUs
> within the node PTT locates. Patch 4 tends to set proper PMU capability to avoid
> collecting unnecessary data to save the storage.
>
> Yicong Yang (4):
> hwtracing: hisi_ptt: Make cpumask only present online CPUs
> hwtracing: hisi_ptt: Add support for dynamically updating the filter
> list
> hwtracing: hisi_ptt: Export available filters through sysfs
> hwtracing: hisi_ptt: Advertise PERF_PMU_CAP_NO_EXCLUDE for PTT PMU
>
> .../ABI/testing/sysfs-devices-hisi_ptt | 50 +++
> Documentation/trace/hisi-ptt.rst | 12 +-
> drivers/hwtracing/ptt/hisi_ptt.c | 396 +++++++++++++++++-
> drivers/hwtracing/ptt/hisi_ptt.h | 51 +++
> 4 files changed, 498 insertions(+), 11 deletions(-)
>
Powered by blists - more mailing lists