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]
Message-Id: <20101021190831.C8EB.A69D9226@jp.fujitsu.com>
Date:	Thu, 21 Oct 2010 19:08:30 +0900 (JST)
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	"Figo.zhang" <zhangtianfei@...dcoretech.com>
Cc:	kosaki.motohiro@...fujitsu.com, 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?

> 
> > >
> > > [root@...ost tracing]# ps -ax | grep flush
> > > Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
> > >  1205 ?        S      0:01 [flush-8:0]
> > > 11852 pts/1    S+     0:00 grep flush
> > > [root@...ost tracing]#
> > >
> > > so my flusher pid is 1205, i do it as below:
> > >
> > > [root@...ost tracing]# echo 0 > tracing_enabled
> > > [root@...ost tracing]# echo function > current_tracer
> > > [root@...ost tracing]# echo 1205 > set_ftrace_pid
> > > [root@...ost tracing]# echo 1 > tracing_enabled
> > >
> > > wait ... and open some pdf files, let system eat huge memory...
> > >
> > > [root@...ost tracing]# echo 0 > tracing_enabled
> > > [root@...ost tracing]# cat trace
> > > # tracer: function
> > > #
> > > #           TASK-PID    CPU#    TIMESTAMP  FUNCTION
> > > #              | |       |          |         |
> > >
> > >
> > > but i canot trace nothing.
> > 
> > Is tracing_on enable(1) on your system?
> > I enable it on my system by default, so I didn't show it in the previous mail.
> > 
> 
> tracing_on is sure on, my kernel is 2.6.36-rc8, what is your kernel
> version?

2.6.36-rc8 + Yong's way works perfectly fine on my x86_64 desktop.

thanks.



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