From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753993AbYLZJnA (ORCPT ); Fri, 26 Dec 2008 04:43:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753362AbYLZJmw (ORCPT ); Fri, 26 Dec 2008 04:42:52 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:52145 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752788AbYLZJmw (ORCPT ); Fri, 26 Dec 2008 04:42:52 -0500 Date: Fri, 26 Dec 2008 10:42:40 +0100 From: Ingo Molnar To: Frederic Weisbecker Cc: Linux Kernel , Steven Rostedt Subject: Re: [PATCH 2/2 v2] tracing/function-graph-tracer: strip ending newlines on comments Message-ID: <20081226094240.GN27747@elte.hu> References: <495185AD.2060604@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <495185AD.2060604@gmail.com> 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.0022] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Frederic Weisbecker wrote: > Impact: trivial output improvement > > Ending newlines are appended automatically on comments by the function graph tracer > because the newline needs to be placed after the "*/" characters. > So if the user puts an ending whitespace, we want to strip it. > > Signed-off-by: Frederic Weisbecker > --- > kernel/trace/trace_functions_graph.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) applied to tip/tracing/function-graph-tracer, thanks Frederic! Ingo