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  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:	Thu, 03 Apr 2014 15:03:26 +0800
From:	"Li, Aubrey" <aubrey.li@...ux.intel.com>
To:	"Du, ChangbinX" <changbinx.du@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [HELP] How to use ftrace to learn how a function is ivoked?

On 2014/4/3 14:36, Du, ChangbinX wrote:
> Hi, All,
> I have a question for ftrace usage. It is that if I have a function A, then I want to 
> know how function A is ivoked?
> I know ftrace can show me what sub-functions that A called by below steps:
> 	# echo function_graph > current_tracer
>   # echo function_A > set_graph_function
> 	# cat trace
> Then a call stack will show what functions A has called. But sometimes I want to 
> know how A is called. Is there a method to do this? Please help me!

dump_stack(), kprobe, AFAIK.

Thanks,
-Aubrey
--
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