mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yicong Yang <yangyicong@huawei.com>
To: <mathieu.poirier@linaro.org>, <suzuki.poulose@arm.com>,
	<jonathan.cameron@huawei.com>, <corbet@lwn.net>,
	<linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>
Cc: <yangyicong@hisilicon.com>, <alexander.shishkin@linux.intel.com>,
	<helgaas@kernel.org>, <linux-pci@vger.kernel.org>,
	<prime.zeng@huawei.com>, <linuxarm@huawei.com>
Subject: Re: [PATCH 0/4] Improve PTT filter interface and some fixes
Date: Mon, 27 Mar 2023 18:49:54 +0800	[thread overview]
Message-ID: <d496ee4f-641a-a726-ab3f-62b587422b61@huawei.com> (raw)
In-Reply-To: <20230315094316.26772-1-yangyicong@huawei.com>

A gentle ping...

Thanks.

On 2023/3/15 17:43, Yicong Yang wrote:
> From: Yicong Yang <yangyicong@hisilicon.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(-)
> 

      parent reply	other threads:[~2023-03-27 10:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  9:43 Yicong Yang
2023-03-15  9:43 ` [PATCH 1/4] hwtracing: hisi_ptt: Make cpumask only present online CPUs Yicong Yang
2023-03-28 16:24   ` Jonathan Cameron
2023-03-30  3:53     ` Yicong Yang
2023-03-30  8:34       ` Jonathan Cameron
2023-03-15  9:43 ` [PATCH 2/4] hwtracing: hisi_ptt: Add support for dynamically updating the filter list Yicong Yang
2023-03-28 16:51   ` Jonathan Cameron
2023-03-29 12:52     ` Yicong Yang
2023-03-15  9:43 ` [PATCH 3/4] hwtracing: hisi_ptt: Export available filters through sysfs Yicong Yang
2023-03-28 17:02   ` Jonathan Cameron
2023-03-29 12:54     ` Yicong Yang
2023-03-15  9:43 ` [PATCH 4/4] hwtracing: hisi_ptt: Advertise PERF_PMU_CAP_NO_EXCLUDE for PTT PMU Yicong Yang
2023-03-28 16:53   ` Jonathan Cameron
2023-03-27 10:49 ` Yicong Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d496ee4f-641a-a726-ab3f-62b587422b61@huawei.com \
    --to=yangyicong@huawei.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=corbet@lwn.net \
    --cc=helgaas@kernel.org \
    --cc=jonathan.cameron@huawei.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=prime.zeng@huawei.com \
    --cc=suzuki.poulose@arm.com \
    --cc=yangyicong@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®