Messages in this thread Patch in this message | | | Date | Fri, 13 Sep 2013 10:16:38 -0400 | From | Dave Jones <> | Subject | Re: 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;
| |