All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: Joakim Zhang <qiangqing.zhang@nxp.com>
Cc: "mark.rutland@arm.com" <mark.rutland@arm.com>,
	Frank Li <frank.li@nxp.com>,
	"robin.murphy@arm.com" <robin.murphy@arm.com>,
	dl-linux-imx <linux-imx@nxp.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH V9 1/3] perf: imx8_ddr_perf: add AXI ID filter support
Date: Wed, 4 Sep 2019 11:42:38 +0100	[thread overview]
Message-ID: <20190904104238.oboadbml7f2ticat@willie-the-truck> (raw)
In-Reply-To: <DB7PR04MB4618D5EFB089C3052A25A7C2E6A20@DB7PR04MB4618.eurprd04.prod.outlook.com>

On Thu, Aug 29, 2019 at 07:26:25AM +0000, Joakim Zhang wrote:
> I have another question want to ask you, could you give me some
> suggestions?
> 
> # perf stat -a -e imx8_ddr0/axid-read,axi_mask=0xf,axi_id=0x10/ cmd
> 
> It will count all read transactions from AXI IDs 0x10 - 0x1f. If we
> suppose these 16 IDs are for GPU Subsystem, with above configuration we
> may want to monitor all read transactions from GPU subsystem. However, it
> is tedious for user to configure, they may not know the AXI IDs map, had
> better we can configure like below, the GPU string is more
> straightforward.
> 
> # perf stat -a -e imx8_ddr0/axid-read,"GPU"/ cmd
> 
> which "GPU" string is same with "axi_mask=0xf,axi_id=0x10".

Perhaps, but I think this sort of stuff belongs in userspace, since the
kernel has no idea about the AXI IDs and they're not probably anyway.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2019-09-04 10:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28 12:07 [PATCH V9 1/3] perf: imx8_ddr_perf: add AXI ID filter support Joakim Zhang
2019-08-28 12:07 ` [PATCH V9 2/3] Documentation: admin-guide: perf: add i.MX8 ddr pmu user doc Joakim Zhang
2019-08-28 12:07 ` [PATCH V9 3/3] MAINTAINERS: add imx8 ddr perf admin-guide maintainer information Joakim Zhang
2019-08-28 13:44 ` [PATCH V9 1/3] perf: imx8_ddr_perf: add AXI ID filter support Will Deacon
2019-08-29  7:26   ` Joakim Zhang
2019-09-04 10:42     ` Will Deacon [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=20190904104238.oboadbml7f2ticat@willie-the-truck \
    --to=will@kernel.org \
    --cc=frank.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=mark.rutland@arm.com \
    --cc=qiangqing.zhang@nxp.com \
    --cc=robin.murphy@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.