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


Groups > linux.kernel > #1415186

Re: [PATCH] perf test: Ignore .scale and other special files

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf test: Ignore .scale and other special files
Date 2016-06-06 17:00 +0200
Message-ID <rH4au-6he-1@gated-at.bofh.it> (permalink)
References <rH3R9-68Z-71@gated-at.bofh.it> <rH4au-6he-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Mon, Jun 06, 2016 at 11:51:48AM -0300, Arnaldo Carvalho de Melo escreveu:
> But this gets us to the following error:
> 
> [root@jouet ~]# perf test -v 5 2>&1 | tail
> running test 49 'r1234/name=rawpmu/'
> 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/'
> failed to parse event 'topdown-total-slots:u,cpu/event=topdown-total-slots/u', err 1
> test child finished with 1
> ---- end ----
> parse events tests: FAILED!
> [root@jouet ~]# cat /sys/devices/cpu/events/topdown-total-slots
> event=0x3c,umask=0x0,any=1[root@jouet ~]# 
> [root@jouet ~]# 
> [root@jouet ~]# cat /sys/devices/cpu/events/bus-cycles 
> event=0x3c,umask=0x01
> [root@jouet ~]# 
> 
> I.e seems to be bickering about a missing newline in the sysfs entry, will check the parser...

Maybe something else, as there are other files there without the newline
and the code introducing the topdown events doesn't look to be
problematic in this regard...

- Arnaldo

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


Thread

[PATCH] perf test: Ignore .scale and other special files Andi Kleen <andi@firstfloor.org> - 2016-06-06 16:40 +0200
  Re: [PATCH] perf test: Ignore .scale and other special files Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 17:00 +0200
    Re: [PATCH] perf test: Ignore .scale and other special files Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 17:20 +0200
      Re: [PATCH] perf test: Ignore .scale and other special files Andi Kleen <ak@linux.intel.com> - 2016-06-06 18:40 +0200
        Re: [PATCH] perf test: Ignore .scale and other special files Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 22:00 +0200
  Re: [PATCH] perf test: Ignore .scale and other special files Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-06 17:00 +0200
  [tip:perf/core] perf test: Ignore .scale and other special files tip-bot for Andi Kleen <tipbot@zytor.com> - 2016-06-08 10:40 +0200

csiph-web