From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757886AbYLPXJ7 (ORCPT ); Tue, 16 Dec 2008 18:09:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753485AbYLPXJt (ORCPT ); Tue, 16 Dec 2008 18:09:49 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:36179 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753447AbYLPXJt (ORCPT ); Tue, 16 Dec 2008 18:09:49 -0500 Date: Wed, 17 Dec 2008 00:09:36 +0100 From: Ingo Molnar To: =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker Cc: Steven Rostedt , Peter Zijlstra , Linux Kernel Subject: Re: [PATCH 0/3] tracing/function-graph-tracer: signal interrupt triggering on output Message-ID: <20081216230936.GR14787@elte.hu> References: <493EF64D.50804@gmail.com> <493EF797.7090603@gmail.com> <20081212101448.GE18152@elte.hu> <20081213074930.GA4205@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Frédéric Weisbecker wrote: > 2008/12/13 Ingo Molnar : > > Another thing, i just noticed that ftrace_print() is broken in certain > > situations, for example a plain newline: > > > > ftrace_printk("\n"); > > > > printed via trace_pipe will print some weirdly concatenated line: > > > > <...>-2994 [007] 406.498986: debug_show: <...>-2994 [007] 406.498986: <...>-2994 [007] 406.498986: debug_show: > > > > not via a separate, standalone, empty line. > > I just tested with latest -tip and I don't any problem with it. > With a single ftrace_printk("\n") on might_sleep() I get: > > <...>-2739 [000] 145.692153: __might_sleep: > <...>-2739 [000] 145.692155: __might_sleep: > <...>-2739 [000] 145.692157: __might_sleep: > <...>-2739 [000] 145.692158: __might_sleep: > > with trace or trace_iter file. > Does it always occur or in rare situations? it seemed to occur all the time. Will investigate it if i see it again. Ingo