oprofile: fix lost sample counter
authorRobert Richter <robert.richter@amd.com>
Tue, 9 Dec 2008 01:13:25 +0000 (02:13 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 10 Dec 2008 19:25:15 +0000 (20:25 +0100)
The number of lost samples could be greater than the number of
received samples. This patches fixes this. The implementation
introduces return values for add_sample() and add_code().

Signed-off-by: Robert Richter <robert.richter@amd.com>

No differences found