Commit Graph

27 Commits

Author SHA1 Message Date
Tom Zanussi 0be9520921 systemtap: Add --enable-prologues to configuration
In some cases, the debuginfo generated by the compiler is insufficient
for systemtap to figure out function param locations; using -P allows
it to use prologue searching to find the correct locations.

Enable prologue searching in the configuration so the user doesn't
have to specify it manually.

Fixes [YOCTO #5403].

(From OE-Core master rev: 798faec374cac7743d2b5bf390ef6263a0e6cdf4)

(From OE-Core rev: bff5199a17c7ab293f5bfdd3cdc19c39887dc00d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-09 11:04:15 +00:00
Cristiana Voicu 53729ac53f systemtap: upgrade to 2.3
Disabled javac and jar.

(From OE-Core rev: 0308bf2619734f07814f55c0adae17937f77afbd)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16 11:14:30 +01:00
Victor Kamensky 33f6017265 systemtap: fix build failure on host system with dyninst installed
On host system where dyninst installed (i.e Fedora 18 with SystemTap)
builds fails with the error from do_qa_configure "This autoconf log
indicates errors, it looked at host include and/or library paths
while determining system capabilities." Problematic config.log
indicates inclusion of /usr/include/dyninst/dyntypes.h

Fix for now - disable dyninst in oe builds

(From OE-Core rev: c4d4fb198d56b26661cc2f98ade6a57f60d9c514)

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-12 13:09:53 +01:00
Martin Jansa c15d9907f1 systemtap: inherit pkgconfig
* systemtap-native was failing with undefined AC_DEFINE
  configure.ac:56: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

(From OE-Core rev: 8026d9f84c6af3996ada906d39ff1e7a986a9b5a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:41:59 +01:00
Tom Zanussi 06615186ed systemtap: add python and bash dependencies
There are a number of scripts in the systemtap installation that use
python and bash, so we need to add run-time dependencies for them.  If
not, we can generate build errors like "no package provides
/usr/bin/python".

Fixes [YOCTO #3951].

(From OE-Core rev: 8a0d31af7008459d1affa0afe3ff193a78f9020d)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-02 12:56:54 +00:00
Marko Lindqvist 311924f506 systemtap: replace obsolete automake macros with working ones
Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.
Removed AM_PROG_CC_STDC. AC_PROG_CC to replace it was already
present.

(From OE-Core rev: 3a335af7da5a94249d2f0d49d89cf0c8f180776e)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-12 13:22:43 +00:00
Ross Burton 7ea8496ce0 meta: remove redundant _FOR_BUILD variables
(From OE-Core rev: acabd2158d9004dedfdfad8c170b77d32684f3fc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12 13:36:37 +00:00
Robert Yang a59b113c67 recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.

[YOCTO #3297]

(From OE-Core rev: 7c7da0af592647be0ab9ab37a8ad2a7ce4890a46)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02 16:18:28 +00:00
Richard Purdie ad23395cd1 nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is
hard and has lead to many recipes having to do PKGSUFFIX games. Its
looking extremely hard to scale nativesdk much further without hacking
many recipes.

By comparison, using a prefix like multilib does works much better and
doesn't involve "hacking" as many recipes. This change converts nativesdk
to use a prefix using the existing multilib infrastructure.

(From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02 05:52:06 -07:00
Wade Farnsworth b8c9a593b5 systemtap: update to version 1.8
Update the systemtap recipes to the recently released 1.8.  Remove a
couple patches whose changes are already present in the new version.

(From OE-Core rev: 1c5a127d075ebf78b70d14e3ca1d0ff640a80cb8)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-28 16:26:43 +01:00
Andreas Müller fa3b18efec systemtap: Unbreak build for systems with nss headers installed
* discussed on [1]
* patch sent to systemtap [2]

[1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/023377.html
[2] http://sourceware.org/ml/systemtap/2012-q2/msg00202.html

(From OE-Core rev: bd17907884e3a1e1d711125a4b8def5263e97edb)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:18 +01:00
Nitin A Kamble c4dde062bd systemtap: fix build with automake 1.12
(From OE-Core rev: 0ab7b586de076ae96cfa91b4f97815ea0893ef7f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25 11:17:57 +01:00
Tom Zanussi ffc9073db1 systemtap: disable document generation by default
Building the systemtap documentation adds significantly to the build
time, so disable it by default.

(From OE-Core rev: e37391a949fb0a6edf87eb910e93a17caf309119)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-14 09:33:47 +01:00
Tom Zanussi 3e3f774b8d systemtap: fix docproc build error
When building docs in systemtap, docproc is used to generate the
tapset documentation, but it gets built for the target, while it needs
to be build for the host instead.  This change causes that to happen.

Fixes [YOCTO #2193].

(From OE-Core rev: 6ef7112e339bb5c03dee862bc56c10fdf677be78)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-14 09:33:47 +01:00
Wade Farnsworth 98a994acff systemtap: build and install uprobes.ko
SystemTap needs to provide uprobes.ko in order to support user space
probing.  Build and install the module on systems that support it.

Additionally, split off common bits into systemtap_git.inc.

(From OE-Core rev: 3cc4ba935444240b93abdc726342658ada803118)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08 00:50:24 +00:00
Wade Farnsworth c2c215b887 systemtap: extend the recipe to build the native package
Since the target image may not contain dev tools, it is useful to
provide native systemtap in order to be able to compile systemtap
scripts for the target.

(From OE-Core rev: 507bd29c5d1a3459e376e2d2c338b7e2a0afabaa)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08 00:50:24 +00:00
Wade Farnsworth 3709697117 systemtap: bump SRCREV to grab version 1.7
Bump SRCREV to the latest stable version of systemtap.

(From OE-Core rev: ea57a29c75aa8265aecb8b0acd9c29340e98092c)

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-08 00:50:24 +00:00
Nitin A Kamble 011a4954d7 systemtap: remove not needed fix for automake 1.11.2
The pkglibexec_SCRIPTS pair is valid. the 1.11.2 introduced an bug
to make it invalid. Now the automake 1.11.2 recipe is fixed, so
no need for this fix for systemtap recipe.

(From OE-Core rev: 0d0a9c71499c6b973fe08b02838b99e47785a07e)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-06 12:11:35 +00:00
Nitin A Kamble ecad149634 systemtap: fix configure with automake 1.11.2
automake version 1.11.2 has made use of dir variables more strict.
The pkglibexec var can not have SCRIPTS suffix. Using pkgdata
instead.

Fixes this error:
| Makefile.am:25: `pkglibexecdir' is not a legitimate directory for
`SCRIPTS'
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
NOTE: package
systemtap-1.6+git1+820f2d22fc47fad6e09ba886efb9b91e1247cb39-r0: task
do_configure: Failed

(From OE-Core rev: c0db889441f16232c59c85a8a858bb833bb34b52)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-03 12:14:34 +00:00
Tom Zanussi 6ca3b3107d systemtap: upgrade to 1.6
Also enable for arm, since systemtap now works on arm and remove the
gcc-4.6 compile fix patch since the problems it addresses have been
fixed upstream.

(From OE-Core rev: 09fa8e139b0c06f961927ac192d644bebdf31abf)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-05 20:25:45 +01:00
Richard Purdie 2114521c16 systemtap: Don't set prefix to a path including so examples get placed in the correct path and packaged correctly
(From OE-Core rev: 4cfb662d2aaca9ff7225186e206b4d2dfffbe2a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 10:57:48 +01:00
Saul Wold 8064c63290 systemtap: add sqlite3 to DEPENDS
(From OE-Core rev: 2d16b471080bb22989e9582a430d10e2838f9334)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:52 +01:00
Mark Hatle 41694312a3 systemtamp: Add missing debug files
(From OE-Core rev: 456b7bf83847f8c53de460317ce7f2f58d91a84c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23 12:07:34 +01:00
Tom Zanussi 2163461ec9 systemtap: remove non-core COMPATIBLE_MACHINES
Systemtap only supports x86, x86-64 and powerpc at this point.

v2: updated to reflect comments from Koen Kooi and Phil Blundell to use
    COMPATIBLE_HOST instead.

(From OE-Core rev: 835d817f1ba7b99167743fdb86ba80f3a07bd82d)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-16 22:14:06 +01:00
Nitin A Kamble e90cc99102 systemtap: fix for compilation with gcc 4.6.0
(From OE-Core rev: dba803d10c0151755ed107cba71b6f31b9660933)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11 17:14:25 +01:00
Yu Ke 61018fda65 poky-default-revisions: move the SRCREV to recipe file
in this case, those non poky distro can also use these recipe normally

(From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04 15:06:36 +01:00
Tom Zanussi 96e513f758 systemtap: new package
Add systemtap, a general-purpose script-directed dynamic tracing and
performance analysis tool for Linux.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-01-20 21:36:57 +00:00