From: Robert Richter Date: Tue, 9 Dec 2008 01:13:25 +0000 (+0100) Subject: oprofile: fix lost sample counter X-Git-Tag: v2.6.29-rc1~564^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=211117ff09b7d81d91b7857651587128ed8b13d9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed