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)
committerRobert Richter <robert.richter@amd.com>
Fri, 12 Jun 2009 15:25:43 +0000 (17:25 +0200)
commit1cc4ce6f5f89cdc355013aa43f06a14a015766d1
tree6311518bac579d1eadadadb335a0f555e0cc8c15
parent0886751c5d8b19fcee2e65d34ae21c9111e652a9
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>
drivers/oprofile/oprofile_stats.c