From 2275ea11ea4feff08508e644248dd2b56c0385bb Mon Sep 17 00:00:00 2001 From: Robert Bradford Date: Thu, 15 Feb 2007 11:21:53 +0000 Subject: Include patch that corrects the bug in the XML generation in opreport when using --separate=lib git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1270 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../oprofile/opreport-xml-output-fixes.patch | 199 +++++++++++++++++++++ meta/packages/oprofile/oprofile_cvs.bb | 1 + 2 files changed, 200 insertions(+) create mode 100644 meta/packages/oprofile/oprofile/opreport-xml-output-fixes.patch diff --git a/meta/packages/oprofile/oprofile/opreport-xml-output-fixes.patch b/meta/packages/oprofile/oprofile/opreport-xml-output-fixes.patch new file mode 100644 index 0000000000..e53bceb912 --- /dev/null +++ b/meta/packages/oprofile/oprofile/opreport-xml-output-fixes.patch @@ -0,0 +1,199 @@ +Index: oprofile/libpp/xml_utils.cpp +=================================================================== +--- oprofile.orig/libpp/xml_utils.cpp 2007-02-13 17:34:31.000000000 +0000 ++++ oprofile/libpp/xml_utils.cpp 2007-02-13 17:35:06.000000000 +0000 +@@ -60,7 +60,7 @@ + } + + +-void dump_it(string const & prefix, sym_iterator it, bool want_nl = true) ++void dump_symbol(string const & prefix, sym_iterator it, bool want_nl = true) + { + if (it == symbols_end) + cverb << vxml << prefix << "END"; +@@ -71,6 +71,17 @@ + } + + ++void dump_symbols(string const & prefix, sym_iterator b, sym_iterator e) ++{ ++ if (b == (sym_iterator)0) ++ return; ++ ++ for (sym_iterator it = b; it != e; ++it) ++ dump_symbol(prefix, it, true); ++} ++ ++ ++ + void dump_classes() + { + cverb << vxml << "" << endl; diff --git a/meta/packages/oprofile/oprofile_cvs.bb b/meta/packages/oprofile/oprofile_cvs.bb index 008b2a7ff5..3b9eae9110 100644 --- a/meta/packages/oprofile/oprofile_cvs.bb +++ b/meta/packages/oprofile/oprofile_cvs.bb @@ -10,6 +10,7 @@ SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module= file://oprofile_eabi.patch;patch=1 \ file://oparchive-debug-dir.patch;patch=1 \ file://oparchive-list-files.patch;patch=1 \ + file://opreport-xml-output-fixes.patch;patch=1 \ file://acinclude.m4" S = "${WORKDIR}/oprofile" -- cgit v1.2.3