tracing: Amend documentation in recordmcount.pl to reflect implementation
authorLi Hong <lihong.hi@gmail.com>
Wed, 28 Oct 2009 05:01:38 +0000 (13:01 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 29 Oct 2009 19:11:40 +0000 (15:11 -0400)
commitd49f6aa76d24c60a52530474cb662e8ad9f09471
treeab557c253d0ed3df1d13869db6939b411a2965e4
parent9de09ace8d518141a4375e1d216ab64db4377799
tracing: Amend documentation in recordmcount.pl to reflect implementation

The documentation currently says we will use the first function in a section
as a reference. The actual algorithm is: choose the first global function we
meet as a reference. If there is none, choose the first local one.
Change the documentation to be consistent with the code.

Also add several other clarifications.

Signed-off-by: Li Hong <lihong.hi@gmail.com>
LKML-Reference: <20091028050138.GA30758@uhli>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl