b5e9faad91
OBS-URL: https://build.opensuse.org/request/show/84704 OBS-URL: https://build.opensuse.org/package/show/devel:tools/oprofile?expand=0&rev=19
35 lines
688 B
Diff
35 lines
688 B
Diff
---
|
|
agents/jvmpi/jvmpi_oprofile.cpp | 2 ++
|
|
libutil++/bfd_support.cpp | 3 +++
|
|
2 files changed, 5 insertions(+)
|
|
|
|
--- a/agents/jvmpi/jvmpi_oprofile.cpp
|
|
+++ b/agents/jvmpi/jvmpi_oprofile.cpp
|
|
@@ -24,12 +24,14 @@
|
|
*
|
|
*/
|
|
|
|
+#include <inttypes.h>
|
|
#include <iostream>
|
|
#include <map>
|
|
#include <string>
|
|
#include <cstring>
|
|
#include <stdexcept>
|
|
#include <cerrno>
|
|
+#include <cstring>
|
|
|
|
extern "C" {
|
|
#include <stdint.h>
|
|
--- a/libutil++/bfd_support.cpp
|
|
+++ b/libutil++/bfd_support.cpp
|
|
@@ -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;
|
|
}
|
|
|