lkml.org 
[lkml]   [2012]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 00/25] perf test: Add perf_event_attr tests
Date
Hi,

On Fri, 2 Nov 2012 00:20:56 +0100, Jiri Olsa wrote:
> On Thu, Nov 01, 2012 at 05:38:01PM -0300, Arnaldo Carvalho de Melo wrote:
>> Ah, I just pushed perf/core with this patchset, thanks!
>
> thanks,
> jirka

When using current acme/perf/core, I got this:

namhyung@sejong:perf$ ./perf test -v perf_event_attr
13: struct perf_event_attr setup :
--- start ---
running './tests/attr/test-record-count'
running './tests/attr/test-stat-group1'
Traceback (most recent call last):
File "./tests/attr.py", line 313, in <module>
main()
File "./tests/attr.py", line 304, in main
run_tests(options)
File "./tests/attr.py", line 247, in run_tests
Test(f, options).run()
File "./tests/attr.py", line 126, in __init__
self.load_events(path, self.expect)
File "./tests/attr.py", line 147, in load_events
base_items = parser_base.items('event')
File "/usr/lib64/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'event'
---- end ----
struct perf_event_attr setup: FAILED!

namhyung@sejong:perf$ cat tests/attr/test-stat-group1
[config]
command = stat
args = -e '{cycles,instructions}' kill >/dev/null 2>&1
ret = 1

[event-1:base-stat]
fd=1
group_fd=-1

[event-2:base-stat]
fd=2
group_fd=1
config=1
# TODO both disabled and enable_on_exec are disabled for --group option,
# enabled otherwise, check why..
disabled=1
enable_on_exec=1


Thanks,
Namhyung


\
 
 \ /
  Last update: 2012-11-02 02:41    [W:0.230 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site