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] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 22 Sep 2008 12:13:36 +0900
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Fr馘駻ic Weisbecker 
	<fweisbec@...il.com>
Cc:	kosaki.motohiro@...fujitsu.com, Ingo Molnar <mingo@...e.hu>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	Steven Rostedt <rostedt@...dmis.org>,
	Steven Noonan <steven@...inklabs.net>
Subject: Re: [Patch 1/3] Tracing/ftrace: Make nop tracer reset previous entries


your patch seems corrupted.
please check again your e-mail client settings.


> If nop tracer is selected, some old entries from the previous tracer could still be enqueued. Tracing have to be reset.
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@...il.com>
> ---
> diff -rup linux-2.6-tip (2)/kernel/trace/trace_nop.c linux-2.6-tip/kernel/trace/trace_nop.c
> --- linux-2.6-tip (2)/kernel/trace/trace_nop.c	2008-09-19 18:01:26.000000000 +0200
> +++ linux-2.6-tip/kernel/trace/trace_nop.c	2008-09-21 00:44:47.000000000 +0200
> @@ -25,8 +25,12 @@ static void stop_nop_trace(struct trace_
>  }
> 
>  
> 
>  static void nop_trace_init(struct trace_array *tr)
> 
> -{
> 
> -	ctx_trace = tr;
> 
> +{
> +	int cpu;
> 
> +	ctx_trace = tr;
> +
> +	for_each_online_cpu(cpu)
> 
> +		tracing_reset(tr->data[cpu]);
> 
>  
> 
>  	if (tr->ctrl)
> 
>  		start_nop_trace(tr);
> --
> 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/



--
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