commit | 211117ff09b7d81d91b7857651587128ed8b13d9 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Tue Dec 09 02:13:25 2008 +0100 |
committer | Robert Richter <robert.richter@amd.com> | Wed Dec 10 20:25:15 2008 +0100 |
tree | 21145ea0cddbc3de803fd8621631e46b7c628057 | |
parent | 1d7503b5dccf2b95babca050e4960e10d2633f2b [diff] |
oprofile: fix lost sample counter 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>