summaryrefslogtreecommitdiff
path: root/packages/oprofile
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-10-13 18:23:56 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-13 18:23:56 +0000
commitbd635f005f8abcbbab501dd44a7727da8b031f69 (patch)
tree13931ee6675968750fc960531be38ac4aca3484b /packages/oprofile
parent2007999f20a2c39023ed3322bcffdaca83870520 (diff)
oprofile: Remove uneeded patch
Diffstat (limited to 'packages/oprofile')
-rw-r--r--packages/oprofile/oprofile-0.9.1/arm_offsetfix.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/packages/oprofile/oprofile-0.9.1/arm_offsetfix.patch b/packages/oprofile/oprofile-0.9.1/arm_offsetfix.patch
deleted file mode 100644
index 0a25242993..0000000000
--- a/packages/oprofile/oprofile-0.9.1/arm_offsetfix.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Index: oprofile/libpp/profile.cpp
-===================================================================
---- oprofile.orig/libpp/profile.cpp 2005-05-02 16:07:03.000000000 +0100
-+++ oprofile/libpp/profile.cpp 2005-06-13 14:28:22.000000000 +0100
-@@ -127,6 +127,11 @@
- // if the image contains no symbol the vma range is [0 - filesize]
- // in this case we can't substract start_offset else we will underflow
- // and the iterator range will be empty.
-+
-+ if (start < start_offset)
-+ return make_pair(const_iterator(ordered_samples.end(), 0),
-+ const_iterator(ordered_samples.end(), 0));
-+
- if (start)
- start -= start_offset;
-
-Index: oprofile/libpp/callgraph_container.cpp
-===================================================================
---- oprofile.orig/libpp/callgraph_container.cpp 2005-05-02 16:07:02.000000000 +0100
-+++ oprofile/libpp/callgraph_container.cpp 2005-06-13 14:27:57.000000000 +0100
-@@ -139,21 +139,24 @@
- unsigned long end;
- b.get_symbol_range(i, start, end);
-
-- profile_t::iterator_pair p_it = profile.samples_range(
-- caller_to_key(start - boffset),
-- caller_to_key(end - boffset));
--
-- // Our odb_key_t contain (from_eip << 32 | to_eip), the range
-- // of key we selected above contain one caller but different
-- // callee and due to the ordering callee offsets are not
-- // consecutive so we must sort them first.
--
-- samples.clear();
--
-- for (; p_it.first != p_it.second; ++p_it.first) {
-- samples.push_back(make_pair(p_it.first.vma(),
-- p_it.first.count()));
-- }
-+ if (start > boffset) {
-+ profile_t::iterator_pair p_it = profile.samples_range(
-+ caller_to_key(start - boffset),
-+ caller_to_key(end - boffset));
-+
-+ // Our odb_key_t contain (from_eip << 32 | to_eip), the range
-+ // of key we selected above contain one caller but different
-+ // callee and due to the ordering callee offsets are not
-+ // consecutive so we must sort them first.
-+
-+ samples.clear();
-+
-+ for (; p_it.first != p_it.second; ++p_it.first) {
-+ samples.push_back(make_pair(p_it.first.vma(),
-+ p_it.first.count()));
-+ }
-+ } else
-+ samples.clear();
-
- sort(samples.begin(), samples.end(), compare_by_callee_vma);
-