Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1415073

Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat
Date 2016-06-06 16:10 +0200
Message-ID <rH3o7-5Yv-73@gated-at.bofh.it> (permalink)
References <rCqEG-7B3-11@gated-at.bofh.it> <rExVo-6ui-19@gated-at.bofh.it> <rExVo-6ui-17@gated-at.bofh.it> <rEy54-6xL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Mon, May 30, 2016 at 01:19:42PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Mon, May 30, 2016 at 09:04:02AM -0700, Andi Kleen escreveu:
> > > Which is a Broadwell-U, dual-core, 14 nm.
> > > 
> > > [root@jouet linux]# echo 0 > /proc/sys/kernel/nmi_watchdog
> > > [root@jouet linux]# perf stat --topdown -a usleep 1
> > > System does not support topdown
> > > [root@jouet linux]# cat /proc/sys/kernel/nmi_watchdog
> > > 0
> > > [root@jouet linux]#
> > > 
> > > Please advise.
> > 
> > You don't have the kernel patches?
> > 
> > They're in PeterZ's tree, but not yet in tip
> > https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git/log/?h=perf/core
> 
> oops, will try applying those patches, thanks for claryfing.

The kernel patches are in tip/perf/core now, so I applied the patches
and they seem to work, but they broke one 'perf test' entry:

# perf test 5
 5: parse events tests                                       : FAILED!

# perf test -v 5
<SNIP>
running test 50 '4:0x6530160/name=numpmu/'
running test 51 'L1-dcache-misses/name=cachepmu/'
running test 0 'cpu/config=10,config1,config2=3,period=1000/u'
running test 1 'cpu/config=1,name=krava/u,cpu/config=2/u'
running test 2 'cpu/config=1,call-graph=fp,time,period=100000/,cpu/config=2,call-graph=no,time=0,period=2000/'
Invalid sysfs entry event=topdown-recovery-bubbles.scale
failed to parse event 'cpu/event=topdown-recovery-bubbles.scale/u', err 1
test child finished with 1
---- end ----
parse events tests: FAILED!
#

Please check that,

- Arnaldo

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 16:10 +0200
  Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 16:20 +0200
    Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat Andi Kleen <ak@linux.intel.com> - 2016-06-06 16:40 +0200

csiph-web