Re: oprofile and ARM A9 hardware counter |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: oprofile and ARM A9 hardware counter
- From: Kevin Hilman <khilman@xxxxxx>
- Date: Tue, 03 Apr 2012 16:14:19 -0700
- Cc: "Shilimkar\, Santosh" <santosh.shilimkar@xxxxxx>, Ming Lei <ming.lei@xxxxxxxxxxxxx>, "eranian\@gmail.com" <eranian@xxxxxxxxx>, Maynard Johnson <maynardj@xxxxxxxxxx>, Lik Lik <lik88888@xxxxxxxxx>, "oprofile-list\@lists.sourceforge.net" <oprofile-list@xxxxxxxxxxxxxxxxxxxxx>, "linux-omap\@vger.kernel.org" <linux-omap@xxxxxxxxxxxxxxx>, "linux-arm-kernel\@lists.infradead.org" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, Paul Walmsley <paul@xxxxxxxxx>, Benoit Cousson <b-cousson@xxxxxx>
- In-reply-to: <20120403160706.GP17741@mudshark.cambridge.arm.com> (Will Deacon's message of "Tue, 3 Apr 2012 17:07:06 +0100")
- Organization: Texas Instruments, Inc.
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Will Deacon <will.deacon@xxxxxxx> writes:
[...]
> Right. Can you confirm whether the PMU/CTI interrupts fire for you please?
> Just run perf top and look at /proc/interrupts while it's running. You
> should see a couple of arm-pmu entries in there and hopefully numbers > 0.
Ah, I see now (I'm a perf newbie.)
Indeed, like you, I have to change the EMU clock domain to SWSUP[1] in
order to see any interrupts and see anything in perf top. This isn't
really a mergeable workaround, so I'll look into this a little closer
with Santosh to see what we can do once we fully understand the HW
problem.
Kevin
[1]
diff --git a/arch/arm/mach-omap2/clockdomains44xx_data.c b/arch/arm/mach-omap2/clockdomains44xx_data.c
index 9299ac2..41d2260 100644
--- a/arch/arm/mach-omap2/clockdomains44xx_data.c
+++ b/arch/arm/mach-omap2/clockdomains44xx_data.c
@@ -390,7 +390,7 @@ static struct clockdomain emu_sys_44xx_clkdm = {
.prcm_partition = OMAP4430_PRM_PARTITION,
.cm_inst = OMAP4430_PRM_EMU_CM_INST,
.clkdm_offs = OMAP4430_PRM_EMU_CM_EMU_CDOFFS,
- .flags = CLKDM_CAN_HWSUP,
+ .flags = CLKDM_CAN_SWSUP,
};
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Arm (vger)]
[ARM Kernel]
[ARM MSM]
[Linux Tegra]
[Maemo Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]