<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/microblaze/kernel/mcount.S, branch v3.2.51</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/microblaze/kernel/mcount.S?h=v3.2.51</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/microblaze/kernel/mcount.S?h=v3.2.51'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-12-14T07:44:54Z</updated>
<entry>
<title>microblaze: ftrace: Add dynamic function graph tracer</title>
<updated>2009-12-14T07:44:54Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-11-16T09:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4f911b0daf0f7028a4fe792b701a48d10da36d84'/>
<id>urn:sha1:4f911b0daf0f7028a4fe792b701a48d10da36d84</id>
<content type='text'>
This patch add support for dynamic function graph tracer.

There is one my expactation that I can do flush_icache after
all code modification. On microblaze is this safer than do
flush for every entry. For icache is used name flush but
correct should be invalidation - this will be fix in upcomming
new cache implementaion and WB support.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: ftrace: add function graph support</title>
<updated>2009-12-14T07:44:53Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-11-16T09:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a0d3e66522e8f6119f002cf31e5d92d7ae73b409'/>
<id>urn:sha1:a0d3e66522e8f6119f002cf31e5d92d7ae73b409</id>
<content type='text'>
For more information look at Documentation/trace folder.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: ftrace: Add dynamic trace support</title>
<updated>2009-12-14T07:44:01Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-12-10T13:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7d241ff0567b9503d79ee775c40927d09b509f83'/>
<id>urn:sha1:7d241ff0567b9503d79ee775c40927d09b509f83</id>
<content type='text'>
With dynamic function tracer, by default, _mcount is defined as an
"empty" function, it returns directly without any more action. When
enabling it in user-space, it will jump to a real tracing
function(ftrace_caller), and do the real job for us.

Differ from the static function tracer, dynamic function tracer provides
two functions ftrace_make_call()/ftrace_make_nop() to enable/disable the
tracing of some indicated kernel functions(set_ftrace_filter).

In the kernel version, there is only one "_mcount" string for every
kernel function, so, we just need to match this one in mcount_regex of
scripts/recordmcount.pl.

For more information please look at code and Documentation/trace folder.

Steven ACK that scripts/recordmcount.pl part.

Acked-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: ftrace: enable HAVE_FUNCTION_TRACE_MCOUNT_TEST</title>
<updated>2009-12-14T07:40:10Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-11-16T08:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6d9e60ce30a1be35491c74df00aaa25d869f8a02'/>
<id>urn:sha1:6d9e60ce30a1be35491c74df00aaa25d869f8a02</id>
<content type='text'>
Implement MCOUNT_TEST in asm code - it is faster than use
generic code

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: ftrace: add static function tracer</title>
<updated>2009-12-14T07:40:09Z</updated>
<author>
<name>Michal Simek</name>
<email>monstr@monstr.eu</email>
</author>
<published>2009-11-16T08:40:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2fd7c761a24c28e83d7194b4b4a099451126a503'/>
<id>urn:sha1:2fd7c761a24c28e83d7194b4b4a099451126a503</id>
<content type='text'>
If -pg of gcc is enabled with CONFIG_FUNCTION_TRACER=y. a calling to
_mcount will be inserted into each kernel function. so, there is a
possibility to trace the kernel functions in _mcount.

This patch add the specific _mcount support for static function
tracing. by default, ftrace_trace_function is initialized as
ftrace_stub(an empty function), so, the default _mcount will introduce
very little overhead. after enabling ftrace in user-space, it will jump
to a real tracing function and do static function tracing for us.

Commit message from Wu Zhangjin &lt;wuzhangjin@gmail.com&gt;

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
</feed>
