[lkml]   [2011]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 07/12] perf_events: add LBR software filter support for Intel X86
(2011/10/12 16:06), Ingo Molnar wrote:
> * Masami Hiramatsu <> wrote:
>> (2011/10/10 23:45), Andi Kleen wrote:
>>>> Ah, nice. Maybe we need another test binary, since current one is
>>>> just ensuring the output of objdump and decoder is same.
>>>> anyway it's not so difficult if it feeds random binaries to
>>>> ensure the decoder doesn't access bad address.
>>> Pure /dev/urandom is not good because it cannot be ever reproduced.
>>> Better use a PRNG with random seed from urandom, but print the seed.
>> Sure,
> Obviously the urandom data should be kbuild generated and only
> cleared on 'make clean' - not regenerated on every run. So if there's
> a failure the failing urandom data stays around readily.

I've added options for passing a combination of seed and seqno
or instruction sequence directly. So if someone find an error
message, they can easily reproduce it or report it.

Thank you,

Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory

 \ /
  Last update: 2011-10-13 12:57    [W:0.090 / U:8.664 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site