[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140626205327.5b526302@gandalf.local.home>
Date: Thu, 26 Jun 2014 20:53:27 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Martin Lau <kafai@...com>
Cc: <linux-kernel@...r.kernel.org>, <clm@...com>
Subject: Re: [PATCH] ring-buffer: Fix polling on trace_pipe
On Thu, 26 Jun 2014 11:34:46 -0700
Martin Lau <kafai@...com> wrote:
> Hi Steve,
>
> Can the modified test program reproduce the problem in your test setup?
Ah sorry, got distracted by other work.
OK, I just tried it out, and here's my results:
I ran you code with my current kernel and this is what I got:
# ./ftrace-test-epoll-kafai
<...>-3183 [002] ...1 81.777891: tracing_mark_write:
some data 3183: waitting for more data......
3184: written more data
And it just hung there.
Then I applied your patch, compiled and booted it, and ran the test
again, and I got this:
# ./ftrace-test-epoll-kafai
It just hung there. No forward progress.
I don't think that was the result you intended.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists