lkml.org 
[lkml]   [2013]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: trinity finds ftrace/perf bug. Film at 11.
On Fri, Sep 13, 2013 at 12:56:37PM +0200, Peter Zijlstra wrote:
> On Thu, Sep 12, 2013 at 02:19:13PM -0400, Steven Rostedt wrote:
>
> > > The good news is I can reproduce that very quickly.
> > > (Apply http://paste.fedoraproject.org/38721/37890755 on top of trinity.git,
> > > and run ./trinity -l off -q -C32 -c inotify_init1 -c perf_event_open -c newlstat)
>
> " The paste you are looking for does not exist "

bah. that sucks. appended below.

> And that line on its own doesn't seem to do much.. its been running for
> minutes now.
>
> Or does 'quickly' mean something else?

without the diff, it'll use all kinds of fds. this diff hardwires it to just use
fd's from perf_event_open. I'll hack up a command line switch to do this in a better
way at some point.

Dave


diff --git a/fds.c b/fds.c
index cc1ca6d..f48c95e 100644
--- a/fds.c
+++ b/fds.c
@@ -119,6 +119,8 @@ static int get_new_random_fd(void)
retry:
i = rand() % 6;

+ i = 3;
+
if (do_specific_proto == TRUE)
i = 1;


\
 
 \ /
  Last update: 2013-09-13 17:01    [W:0.104 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site