http://www.linuxrd.com/~carl/cgi-bin/lnxtc.pl?help
--- Horst von Brand <[EMAIL PROTECTED]> wrote: > Re: [ANNOUNCE] Linux-tracecalls, a new tool for Kernel development, released > > If it can't find out where a function could be called through a pointer > (very common due to the OOP-in-C style in the kernel) it has no chance. Dear Doctor von Brand, I believe the following should clear up your misunderstanding, perhaps due to my poor original choice of words. Carl Spalletta PATCH #2 --- lnxtc-2.6.10.pl- 2005-01-21 00:16:33.000000000 -0500 +++ lnxtc-2.6.10.pl 2005-01-21 00:50:11.000000000 -0500 @@ -517,10 +517,22 @@ $leaf_node = 0; $debug and print STDERR "\ncscope line is $full_caller_cscope"; - #Target is a callback + #TARGET IS A PSEUDO-CALLBACK, AN ARTIFACT OF CSCOPE: + # + #The name of an operations structure member, wrongly interpreted by + #cscope as the name of an actual function - it should be ignored, + #since it has been confused by cscope with the name of some actual + #caller. HOWEVER the callbacks are found anyway, under their actual names. + #and if any function pointed to by a callback is part of a chain to + #our initial target it _will_ be found, the same as any other caller. + # if($full_caller_cscope =~ /\w+\s*->\s*${target_filefunc}\s*\(/) { - $debug and print STDERR "callback $target_filefunc ignored.\n"; + $debug and + print STDERR "pseudo-callback $target_filefunc ignored.\n"; next; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/