oprofile/oprofile-0.9.4-fixes.diff
OBS User autobuild 677158dbc2 Accepting request 31696 from devel:tools
Copy from devel:tools/oprofile based on submit request 31696 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/31696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oprofile?expand=0&rev=20
2010-02-09 21:42:00 +00:00

20 lines
603 B
Diff

---
agents/jvmpi/jvmpi_oprofile.cpp | 2 ++
libutil++/bfd_support.cpp | 3 +++
2 files changed, 5 insertions(+)
Index: oprofile-0.9.6/libutil++/bfd_support.cpp
===================================================================
--- oprofile-0.9.6.orig/libutil++/bfd_support.cpp 2009-11-24 16:25:17.000000000 +0100
+++ oprofile-0.9.6/libutil++/bfd_support.cpp 2010-02-03 16:59:58.000000000 +0100
@@ -370,6 +370,9 @@ bool interesting_symbol(asymbol * sym)
if (!(sym->section->flags & SEC_LOAD))
return false;
+ if (sym->flags & BSF_SECTION_SYM)
+ return false;
+
return true;
}