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]
Date:	Mon, 13 Apr 2015 18:06:06 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	Namhyung Kim <namhyung@...nel.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Tom Zanussi <tom.zanussi@...ux.intel.com>,
	Minchan Kim <minchan@...nel.org>
Subject: Re: [PATCH] tracing: Increase stack skip on event trigger

On Thu, 26 Mar 2015 09:39:23 +0900
Namhyung Kim <namhyung@...nel.org> wrote:

> When 'stacktrace' trigger is used for event tracing, it should skip 4
> functions instead of 3.  Otherwise it'll contain ftrace_raw_event_XXX
> like below:
> 
>   # echo stacktrace > events/sched/sched_switch/trigger
>   # tail trace
>    => rcu_gp_kthread
>    => kthread
>    => ret_from_fork
>        ksoftirqd/0-3     [000] d..3    53.343993: <stack trace>
>    => ftrace_raw_event_sched_switch
>    => __schedule
>    => schedule
>    => smpboot_thread_fn
>    => kthread
>    => ret_from_fork
> 
> Reported-by: Minchan Kim <minchan@...nel.org>
> Cc: Tom Zanussi <tom.zanussi@...ux.intel.com>
> Signed-off-by: Namhyung Kim <namhyung@...nel.org>
> ---

Hmm, this breaks when frame pointers are not enabled.

I may come up with something though.

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ