Skip to content
Commit 211117ff authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent 1d7503b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment