Title: [6689] trunk/Documentation/trace/ftrace-implementation.txt: use "mcount" in example code
- Revision
- 6689
- Author
- vapier
- Date
- 2009-06-12 08:56:37 -0500 (Fri, 12 Jun 2009)
Log Message
use "mcount" in example code
Modified Paths
Diff
Modified: trunk/Documentation/trace/ftrace-implementation.txt (6688 => 6689)
--- trunk/Documentation/trace/ftrace-implementation.txt 2009-06-12 13:56:17 UTC (rev 6688)
+++ trunk/Documentation/trace/ftrace-implementation.txt 2009-06-12 13:56:37 UTC (rev 6689)
@@ -31,6 +31,8 @@
running something like:
$ echo 'main(){}' | gcc -x c -S -o - - -pg | grep mcount
call mcount
+We'll make the assumption below that the symbol is "mcount" just to keep things
+nice and simple in the examples.
Keep in mind that the ABI that is in effect inside of the mcount function is
*highly* architecture/toolchain specific. We cannot help you in this regard,
@@ -90,8 +92,8 @@
}
Don't forget to export mcount for modules !
-extern void _mcount(void);
-EXPORT_SYMBOL(_mcount);
+extern void mcount(void);
+EXPORT_SYMBOL(mcount);
HAVE_FUNCTION_TRACE_MCOUNT_TEST
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits