RE: [PATCH V7 0/4] perf tools: pmu event new style format fix

From: Liang, Kan
Date: Sun Oct 05 2014 - 22:43:17 EST




> > Kan Liang (4):
> > Revert "perf tools: Default to cpu// for events v5"
> > perf tools: parse the pmu event prefix and suffix
> > perf tools: Add support to new style format of kernel PMU event
> > perf tools: Add test case for pmu event new style format
>
> got test failure with your patchset:
>

The test passed on my machine.
It looks your test failed with test 13/14. But my patch should not impact these two cases. Could you please double check?
(I also manually test 13 and 14, they all passed on my machine.)

[root@localhost perf]# ./perf test parse -v
5: parse events tests :
--- start ---
test child forked, pid 6966
running test 0 'syscalls:sys_enter_open'
running test 1 'syscalls:*'
running test 2 'r1a'
running test 3 '1:1'
running test 4 'instructions'
running test 5 'cycles/period=100000,config2/'
running test 6 'faults'
running test 7 'L1-dcache-load-miss'
running test 8 'mem:0'
running test 9 'mem:0:x'
running test 10 'mem:0:r'
running test 11 'mem:0:w'
running test 12 'syscalls:sys_enter_open:k'
running test 13 'syscalls:*:u'
running test 14 'r1a:kp'

SNIP

running test 39 '{instructions,branch-misses}:Su'
running test 40 'instructions:uDp'
running test 41 '{cycles,cache-misses,branch-misses}:D'
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 0 'config=10,config1,config2=3,umask=1'
test child finished with 0
---- end ----
parse events tests: Ok

Kan

> [jolsa@krava perf]$ sudo ./perf test parse -v
> 5: parse events tests :
> --- start ---
> test child forked, pid 9972
> running test 0 'syscalls:sys_enter_open'
> registering plugin: /root/.traceevent/plugins/plugin_kvm.so
> registering plugin: /root/.traceevent/plugins/plugin_scsi.so
> registering plugin: /root/.traceevent/plugins/plugin_mac80211.so
> registering plugin: /root/.traceevent/plugins/plugin_hrtimer.so
>
> SNIP
>
> running test 6 'faults'
> running test 7 'L1-dcache-load-miss'
> running test 8 'mem:0'
> running test 9 'mem:0:x'
> running test 10 'mem:0:r'
> running test 11 'mem:0:w'
> running test 12 'syscalls:sys_enter_open:k'
> running test 13 'syscalls:*:u'
> test child interrupted
> ---- end ----
> parse events tests: FAILED!
>
>
> jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/