* [PATCH] systemtap: Patches for version 2.1
@ 2014-08-28 10:23 Muzaffar Mahmood
2014-08-29 0:14 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Muzaffar Mahmood @ 2014-08-28 10:23 UTC (permalink / raw)
To: openembedded-core
From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
---
.../systemtap/systemtap/system_map_location.patch | 13 +++++++++++++
meta/recipes-kernel/systemtap/systemtap_git.inc | 1 +
2 files changed, 14 insertions(+)
create mode 100644 meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
diff --git a/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch b/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
new file mode 100644
index 0000000..cd4f19e
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
@@ -0,0 +1,13 @@
+Index: git/session.cxx
+===================================================================
+--- git.orig/session.cxx
++++ git/session.cxx
+@@ -1634,7 +1634,7 @@ systemtap_session::parse_kernel_function
+ clog << _F("Kernel symbol table %s unavailable, (%s)",
+ system_map_path.c_str(), strerror(errno)) << endl;
+
+- system_map_path = "/boot/System.map-" + kernel_release;
++ system_map_path = kernel_build_tree + "/System.map-" + kernel_release;
+ system_map.clear();
+ system_map.open(system_map_path.c_str(), ifstream::in);
+ if (! system_map.is_open())
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index 3e1e80a..33aa136 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -6,6 +6,7 @@ PV = "2.5+git${SRCPV}"
SRC_URI = "git://sourceware.org/git/systemtap.git \
file://docproc-build-fix.patch \
file://obsolete_automake_macros.patch \
+ file://system_map_location.patch \
file://tapset-linux-sendfile-syscall.patch \
"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] systemtap: Patches for version 2.1
2014-08-28 10:23 [PATCH] systemtap: Patches for version 2.1 Muzaffar Mahmood
@ 2014-08-29 0:14 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2014-08-29 0:14 UTC (permalink / raw)
To: Muzaffar Mahmood, openembedded-core
On 08/28/2014 03:23 AM, Muzaffar Mahmood wrote:
> From: Mikhail Durnev <Mikhail_Durnev@mentor.com>
>
Please tell us why? If you up-revving, does it make more sense to
change where we are pointing the git hash?
> Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com>
> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
> ---
> .../systemtap/systemtap/system_map_location.patch | 13 +++++++++++++
> meta/recipes-kernel/systemtap/systemtap_git.inc | 1 +
> 2 files changed, 14 insertions(+)
> create mode 100644 meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
>
> diff --git a/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch b/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
> new file mode 100644
> index 0000000..cd4f19e
> --- /dev/null
> +++ b/meta/recipes-kernel/systemtap/systemtap/system_map_location.patch
As with the other patch, this patch file is missing Upstream-Status and
Signed-off-by.
See the http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Thanks
Sau!
> @@ -0,0 +1,13 @@
> +Index: git/session.cxx
> +===================================================================
> +--- git.orig/session.cxx
> ++++ git/session.cxx
> +@@ -1634,7 +1634,7 @@ systemtap_session::parse_kernel_function
> + clog << _F("Kernel symbol table %s unavailable, (%s)",
> + system_map_path.c_str(), strerror(errno)) << endl;
> +
> +- system_map_path = "/boot/System.map-" + kernel_release;
> ++ system_map_path = kernel_build_tree + "/System.map-" + kernel_release;
> + system_map.clear();
> + system_map.open(system_map_path.c_str(), ifstream::in);
> + if (! system_map.is_open())
> diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
> index 3e1e80a..33aa136 100644
> --- a/meta/recipes-kernel/systemtap/systemtap_git.inc
> +++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
> @@ -6,6 +6,7 @@ PV = "2.5+git${SRCPV}"
> SRC_URI = "git://sourceware.org/git/systemtap.git \
> file://docproc-build-fix.patch \
> file://obsolete_automake_macros.patch \
> + file://system_map_location.patch \
> file://tapset-linux-sendfile-syscall.patch \
> "
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-29 0:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-28 10:23 [PATCH] systemtap: Patches for version 2.1 Muzaffar Mahmood
2014-08-29 0:14 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox