On Thu, Apr 19, 2012 at 2:47 PM, Steven Noonan <steven@uplinklabs.net>
wrote:
[snip]
>
> OK, finally got around to testing this. Sorry about the delay, been
> rather busy at work.
>
> These two patches definitely fix the lockups, but ''perf
test'' doesn''t
> pass every test:
Thanks for the test!
>
> 1: vmlinux symtab matches kallsyms:
> --- start ---
> Looking at the vmlinux_path (6 entries long)
> dso__load_sym: cannot get elf header.
> Using /lib/modules/3.3.2-00002-gf57130d/build/vmlinux for symbols
> Maps only in vmlinux:
> ffffffff81ae61b1-ffffffff81b9d7b7 0 [kernel].init.text
> ffffffff81b9d7b8-ffffffff9fffffff 0 [kernel].exit.text
> Maps in vmlinux with a different name in kallsyms:
> Maps only in kallsyms:
> ---- end ----
> vmlinux symtab matches kallsyms: Ok
> 2: detect open syscall event:
> --- start ---
> ---- end ----
> detect open syscall event: Ok
> 3: detect open syscall event on all cpus:
> --- start ---
> ---- end ----
> detect open syscall event on all cpus: Ok
> 4: read samples using the mmap interface:
> --- start ---
> ---- end ----
> read samples using the mmap interface: Ok
> 5: parse events tests:
> --- start ---
> ---- end ----
> parse events tests: Ok
> 6: Validate PERF_RECORD_* events & perf_sample fields:
> --- start ---
> perf_evlist__open: Bad file descriptor
> ---- end ----
> Validate PERF_RECORD_* events & perf_sample fields: FAILED!
This should be another unrelated issue.
Let me try to see if I can reproduce it.
>
> I couldn''t figure out what exactly was failing in that test with a
> quick inspection... Someone else want to take a stab at it? If someone
> wants to give me patches that add extra output, I could run those too.
>
> Anyway:
>
> Tested-by: Steven Noonan <steven@uplinklabs.net>
Thanks.
Lin Ming
>
> - Steven