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)
commit2b8777ca0c944bf6498c45ed9c5c246bd63a719e
treefb62bd8d92828d6c1e6b66cc1cbb1bd49f0a19fc
parent8d7ff4f2a0b22b7d6d7bc3982257d1dadea22824
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