lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0906250833410.12035@gandalf.stny.rr.com>
Date:	Thu, 25 Jun 2009 08:34:30 -0400 (EDT)
From:	Steven Rostedt <rostedt@...dmis.org>
To:	mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
	fweisbec@...il.com, lizf@...fujitsu.com, tglx@...utronix.de,
	mingo@...e.hu
cc:	linux-tip-commits@...r.kernel.org
Subject: Re: [tip:tracing/urgent] ftrace: Remove duplicate newline



On Thu, 25 Jun 2009, tip-bot for Li Zefan wrote:

> Commit-ID:  00e54d087afb3867b0b461aef6c1ff433d0df564
> Gitweb:     http://git.kernel.org/tip/00e54d087afb3867b0b461aef6c1ff433d0df564
> Author:     Li Zefan <lizf@...fujitsu.com>
> AuthorDate: Thu, 25 Jun 2009 14:05:27 +0800
> Committer:  Ingo Molnar <mingo@...e.hu>
> CommitDate: Thu, 25 Jun 2009 10:28:36 +0200
> 
> ftrace: Remove duplicate newline
> 
> Before:
>   # echo 'sys_open:traceon:' > set_ftrace_filter
>   # echo 'sys_close:traceoff:5' > set_ftrace_filter
>   # cat set_ftrace_filter
>   #### all functions enabled ####
>   sys_open:traceon:unlimited
> 
>   sys_close:traceoff:count=0
> 
> After:
>   # cat set_ftrace_filter
>   #### all functions enabled ####
>   sys_open:traceon:unlimited
>   sys_close:traceoff:count=0
> 
> Signed-off-by: Li Zefan <lizf@...fujitsu.com>
> Cc: Steven Rostedt <rostedt@...dmis.org>

Thanks!

Acked-by: Steven Rostedt <rostedt@...dmis.org>

-- Steve

> Cc: Frederic Weisbecker <fweisbec@...il.com>
> LKML-Reference: <4A4313A7.7030105@...fujitsu.com>
> Signed-off-by: Ingo Molnar <mingo@...e.hu>
> 
> 
> ---
>  kernel/trace/trace_functions.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c
> index 90f1347..7402144 100644
> --- a/kernel/trace/trace_functions.c
> +++ b/kernel/trace/trace_functions.c
> @@ -302,8 +302,7 @@ ftrace_trace_onoff_print(struct seq_file *m, unsigned long ip,
>  	if (count == -1)
>  		seq_printf(m, ":unlimited\n");
>  	else
> -		seq_printf(m, ":count=%ld", count);
> -	seq_putc(m, '\n');
> +		seq_printf(m, ":count=%ld\n", count);
>  
>  	return 0;
>  }
> 
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ