* Fwd: Perf support for stalled-cycles-frontend and stalled-cycles-backend event
[not found] <CABHD4K9uYYx3ga=joDid71YUWT7o93Cg8hDSQgX=dDy156vAsQ@mail.gmail.com>
@ 2013-11-06 13:45 ` Amit Tomer
2013-11-07 17:23 ` Will Deacon
1 sibling, 0 replies; 2+ messages in thread
From: Amit Tomer @ 2013-11-06 13:45 UTC (permalink / raw)
To: linux-perf-users
---------- Forwarded message ----------
From: Amit Tomer <amittomer25@gmail.com>
Date: Wed, Nov 6, 2013 at 7:03 PM
Subject: Perf support for stalled-cycles-frontend and
stalled-cycles-backend event
To: linux-perf-users@vger.kernel.org
Cc: Will Deacon <will.deacon@arm.com>
We recently installed Perf tool on our platform based on Cortex A-15
cores and Linux kerenl 3.4.8.
We enabled the Hardware Performance counter(PMU) and can see below
message in dmeg log .
[ 2.292157] hw perfevents: enabled with ARMv7 Cortex-A15 PMU
driver, 7 counters available
This message suggests there are 7 counter avaiable here.
But when we run the below command ,we find two counters named
stalled-cycles-frontend and stalled-cycles-backend are not suported
#########################################
root@fzm-k2:~# perf stat -v ./helloworld
Warning: stalled-cycles-frontend event is not supported by the kernel.
Warning: stalled-cycles-backend event is not supported by the kernel.
This is helloworld
pRet: 0
pRet: 0
pRet: 0
cg_rc,: 0
pRet: 0
pRet: 0
pRet: 110
pthread timeout done
task-clock: 4510376 4510376 4510376
context-switches: 1 4510376 4510376
cpu-migrations: 0 4510376 4510376
page-faults: 124 4510376 4510376
cycles: 5524151 4516123 4516123
stalled-cycles-frontend: 0 0 0
stalled-cycles-backend: 0 0 0
instructions: 1470222 4516123 4516123
branches: 432570 4516123 4516123
branch-misses: 14388 4516123 4516123
Performance counter stats for './helloworld':
4.510376 task-clock # 0.000 CPUs utilized
1 context-switches # 0.222 K/sec
0 cpu-migrations # 0.000 K/sec
124 page-faults # 0.027 M/sec
5524151 cycles # 1.225 GHz
<not supported> stalled-cycles-frontend
<not supported> stalled-cycles-backend
1470222 instructions # 0.27 insns per cycle
432570 branches # 95.906 M/sec
14388 branch-misses # 3.33% of all branches
60.005505884 seconds time elapsed
Now as we can see that these two counter are not supported here,can
anybody let us know how do we provide support for both them.
Also, why CPU's utilization is showing Zero here??
Thanks
Amit.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Perf support for stalled-cycles-frontend and stalled-cycles-backend event
[not found] <CABHD4K9uYYx3ga=joDid71YUWT7o93Cg8hDSQgX=dDy156vAsQ@mail.gmail.com>
2013-11-06 13:45 ` Fwd: Perf support for stalled-cycles-frontend and stalled-cycles-backend event Amit Tomer
@ 2013-11-07 17:23 ` Will Deacon
1 sibling, 0 replies; 2+ messages in thread
From: Will Deacon @ 2013-11-07 17:23 UTC (permalink / raw)
To: Amit Tomer; +Cc: linux-perf-users@vger.kernel.org
On Wed, Nov 06, 2013 at 01:33:23PM +0000, Amit Tomer wrote:
> We recently installed Perf tool on our platform based on Cortex A-15 cores and Linux kerenl 3.4.8.
>
> We enabled the Hardware Performance counter(PMU) and can see below message in dmeg log .
>
> [ 2.292157] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
>
> This message suggests there are 7 counter avaiable here.
>
> But when we run the below command ,we find two counters named stalled-cycles-frontend and stalled-cycles-backend are not suported
Take a look at the Cortex-A15 TRM. I couldn't see anything in there which
matched my understanding of stalled-cycles-frontend or
stalled-cycles-backend, so I decided to leave them as UNSUPPORTED.
Do you have a suggestion for which event to use?
Will
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CABHD4K9uYYx3ga=joDid71YUWT7o93Cg8hDSQgX=dDy156vAsQ@mail.gmail.com>
2013-11-06 13:45 ` Fwd: Perf support for stalled-cycles-frontend and stalled-cycles-backend event Amit Tomer
2013-11-07 17:23 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).