]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile: reset bt_lost_no_mapping with other stats
authorMaynard Johnson <maynardj@us.ibm.com>
Wed, 27 May 2009 15:15:08 +0000 (10:15 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Jul 2009 10:35:36 +0000 (12:35 +0200)
commit0d25bc57ffb25bba6ceb2094ab8ea1d641d4d697
treefb62bd8d92828d6c1e6b66cc1cbb1bd49f0a19fc
parentc551e1811e7c10919f1c18ec682e8b1f82e14bca
oprofile: reset bt_lost_no_mapping with other stats

The bt_lost_no_mapping is not getting reset at the start of a
profiling run, thus the oprofiled.log shows erroneous values for this
statistic. The attached patch fixes this problem.

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/oprofile/oprofile_stats.c