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:	Thu, 21 Oct 2010 12:12:07 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	"Figo.zhang" <zhangtianfei@...dcoretech.com>
Cc:	Yong Zhang <yong.zhang0@...il.com>, Li Zefan <lizf@...fujitsu.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Steven Rostedt <srostedt@...hat.com>
Subject: Re: Ftrace: can trace kthread?

On Thu, 2010-10-21 at 16:59 +0800, Figo.zhang wrote:
> > I just
> > echo  0 > tracing_enabled
> > echo function > current_tracer
> > echo 374(pid of flush) > set_ftrace_pid
> > echo 1 > tracing_enabled
> > wait some time
> > echo 0 > tracing_enabled
> > cat trace
> > 
> > So I think this answer your question "could kthread be traced?"
> 
> i do it the same of you.

> but i canot trace nothing. 

Your initial attempt had:

        echo kswapd > /sys/kernel/debug/tracing/set_graph_function

have you reset that state?
--
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