On Fri, May 17, 2013 at 11:18:39AM -0400, Vince Weaver wrote: > > Here's a patch that improves slightly the coverage in perf_event_open(). > > It handles cache events and breakpoint events. > > perf_event_open() is such a complicated syscall it's fairly unlikely to > generate a valid event randomly, even with these changes. > > Also a question: is there a way to easily generate a 64-bit random number? > >From what I can tell rand() only generates a 32-bit one? I was going to wait until I get back from vacation, but your comment persuaded me to push out what's in my current tree. check out rand64. totally untested so far beyond compile testing. more when I get back on Tuesday. Dave -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html