Re: [PATCH -v4 9/9] tracing: add function graph tracer support for MIPS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Daney
Date: Thursday, October 22, 2009 - 8:59 am

Wu Zhangjin wrote:

This is what I was talking about up-thread.  Leaf functions may have no 
function prolog.  If you do code scanning you will fail.  While scanning 
backwards, there is no way to know when you have entered a new function. 
  Looking for function return sequences 'jr ra' doesn't work as there 
may be functions with multiple return sites, functions that never 
return, or arbitrary data before the function.  I think you have to 
force a frame pointer to be established if you want this to work.

David Daney
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -v4 9/9] tracing: add function graph tracer sup ..., Nicholas Mc Guire, (Wed Oct 21, 11:17 am)
Re: [PATCH -v4 9/9] tracing: add function graph tracer sup ..., David Daney, (Thu Oct 22, 8:59 am)
Re: [PATCH -v4 4/9] tracing: add static function tracer su ..., Frederic Weisbecker, (Thu Oct 22, 2:09 pm)
Re: [PATCH -v4 4/9] tracing: add static function tracer su ..., Richard Sandiford, (Thu Oct 22, 3:17 pm)
Re: [PATCH] MIPS: Add option to pass return address locati ..., Richard Sandiford, (Sat Oct 24, 2:12 am)
Re: [PATCH -v4 9/9] tracing: add function graph tracer sup ..., Richard Sandiford, (Sun Oct 25, 8:55 am)