public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/1] systemtap 'crosstap' fix
@ 2013-02-02  0:34 tom.zanussi
  2013-02-02 13:12 ` Tom Zanussi
  0 siblings, 1 reply; 4+ messages in thread
From: tom.zanussi @ 2013-02-02  0:34 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tom Zanussi

From: Tom Zanussi <tom.zanussi@linux.intel.com>

This is a patch to systemtap and fixes a problem where a passed-in
builddir gets lost in the session copy constructor when connecting
to remote hosts, resulting in failed script compilation.

The patch has been submitted upstream but no feedback yet.

The following changes since commit 75f470cd18d693a9a96d9849291c2c8de4dcbeb8:

  qt4: Add space for _appends (2013-02-01 22:49:47 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-constructor-fix
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/systemtap-constructor-fix

Tom Zanussi (1):
  systemtap: make session copy constructor pick up kernel builddir

 .../systemtap/systemtap/copy-constructor-builddir.patch | 17 +++++++++++++++++
 meta/recipes-kernel/systemtap/systemtap_git.bb          |  2 +-
 meta/recipes-kernel/systemtap/systemtap_git.inc         |  1 +
 3 files changed, 19 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-kernel/systemtap/systemtap/copy-constructor-builddir.patch

-- 
1.7.11.4




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] systemtap 'crosstap' fix
  2013-02-02  0:34 [PATCH 0/1] systemtap 'crosstap' fix tom.zanussi
@ 2013-02-02 13:12 ` Tom Zanussi
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Zanussi @ 2013-02-02 13:12 UTC (permalink / raw)
  To: openembedded-core

On Fri, 2013-02-01 at 18:34 -0600, tom.zanussi@linux.intel.com wrote:
> From: Tom Zanussi <tom.zanussi@linux.intel.com>
> 
> This is a patch to systemtap and fixes a problem where a passed-in
> builddir gets lost in the session copy constructor when connecting
> to remote hosts, resulting in failed script compilation.
> 
> The patch has been submitted upstream but no feedback yet.
> 

Please hold off on this - it works but there may be a better way...

Thanks,

Tom

> The following changes since commit 75f470cd18d693a9a96d9849291c2c8de4dcbeb8:
> 
>   qt4: Add space for _appends (2013-02-01 22:49:47 +0000)
> 
> are available in the git repository at:
> 
>   git://git.yoctoproject.org/poky-contrib.git tzanussi/systemtap-constructor-fix
>   http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/systemtap-constructor-fix
> 
> Tom Zanussi (1):
>   systemtap: make session copy constructor pick up kernel builddir
> 
>  .../systemtap/systemtap/copy-constructor-builddir.patch | 17 +++++++++++++++++
>  meta/recipes-kernel/systemtap/systemtap_git.bb          |  2 +-
>  meta/recipes-kernel/systemtap/systemtap_git.inc         |  1 +
>  3 files changed, 19 insertions(+), 1 deletion(-)
>  create mode 100644 meta/recipes-kernel/systemtap/systemtap/copy-constructor-builddir.patch
> 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 0/1] systemtap 'crosstap' fix
@ 2013-02-05 14:26 tom.zanussi
  2013-02-05 14:26 ` [PATCH 1/1] crosstap: handle hyphenated x86_64 target arch tom.zanussi
  0 siblings, 1 reply; 4+ messages in thread
From: tom.zanussi @ 2013-02-05 14:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tom Zanussi

From: Tom Zanussi <tom.zanussi@linux.intel.com>

This is a patch to crosstap which fixes a problem where a passed-in
builddir gets lost in the session copy constructor when connecting
to remote hosts, resulting in failed script compilation.

The problem turned out to be simple hyphen/underscore confusion.

The following changes since commit 7e9cb437b1b720e656f4a33f73c07c5dc7356a2c:

  dropbear: fix RPROVIDES (2013-02-04 23:31:02 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/crosstap-x86-64-fix
  http://git.yoctoproject.org/cgit.cgi//log/?h=tzanussi/crosstap-x86-64-fix

Tom Zanussi (1):
  crosstap: handle hyphenated x86_64 target arch

 scripts/crosstap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.11.4




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] crosstap: handle hyphenated x86_64 target arch
  2013-02-05 14:26 [PATCH 0/1] systemtap 'crosstap' fix tom.zanussi
@ 2013-02-05 14:26 ` tom.zanussi
  0 siblings, 0 replies; 4+ messages in thread
From: tom.zanussi @ 2013-02-05 14:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Tom Zanussi

From: Tom Zanussi <tom.zanussi@linux.intel.com>

systemtap_target_arch() should also translate x86-64 (hyphenated) into
x86_64 for the -a param.  Failing to do that causes systemtap to see
an architecture mismatch and create a cloned session with a bogusly
synthesized build directory path, and fails to compile the probe.

 Fixes [YOCTO #3756]

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 scripts/crosstap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/crosstap b/scripts/crosstap
index 783bf2f..58317cf 100755
--- a/scripts/crosstap
+++ b/scripts/crosstap
@@ -70,7 +70,7 @@ function systemtap_target_arch() {
         i?86)
             SYSTEMTAP_TARGET_ARCH="i386"
             ;;
-        x86_64*)
+        x86?64*)
             SYSTEMTAP_TARGET_ARCH="x86_64"
             ;;
         arm*)
-- 
1.7.11.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-05 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05 14:26 [PATCH 0/1] systemtap 'crosstap' fix tom.zanussi
2013-02-05 14:26 ` [PATCH 1/1] crosstap: handle hyphenated x86_64 target arch tom.zanussi
  -- strict thread matches above, loose matches on Subject: below --
2013-02-02  0:34 [PATCH 0/1] systemtap 'crosstap' fix tom.zanussi
2013-02-02 13:12 ` Tom Zanussi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox