Sync with oprofile CVS HEAD from Jan 11, 2011.
There have been a few patches to oprofile for newer ARM architectures
since 0.9.6.
Pruned out irrelevant auto-generated files from the previous dump
so this is closer to being a mirror of the actual oprofile repository.
Change-Id: I889053d30aae433a199a0a18585c66b88ff8de14
diff --git a/libpp/profile_spec.cpp b/libpp/profile_spec.cpp
index f75327e..0a77a74 100644
--- a/libpp/profile_spec.cpp
+++ b/libpp/profile_spec.cpp
@@ -481,10 +481,7 @@
closedir(dir);
done:
- if (ret == -1) {
- cerr << "Overflow stats not available" << endl;
- }
- else if (ret > 0) {
+ if (ret > 0) {
cerr << "WARNING! The OProfile kernel driver reports sample "
<< "buffer overflows." << endl;
cerr << "Such overflows can result in incorrect sample attribution"