On Wed, Jan 20, 2010 at 02:23:04PM -0800, Tony Miller wrote:
> Yeah you're right... ^_^
> 
> I guess ideally, I'd want to find out *which* definition of
> do_gettimeofday() is being used for the function call I'm looking at. Maybe
> cscope would help with that.
> 
> I tried
>    make tags
> 
> and then tried to look up do_gettimeofday() again, and I got directed to
> include/linux/time.h, which has the function prototype, which is helpful. It
> would still be even nicer to see the function body, perhaps another tool
> could help with that.

Use cscope, it knows the difference between prototypes and where the
function is defined.

good luck,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to