aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap_git.bb
AgeCommit message (Collapse)Author
2018-10-28systemtap: move systemtap-exporter into separate packageVictor Kamensky
stap-exporter runs a set of systemtap scripts and relays their procfs outputs to remote HTTP clients on demand. systemtap-exporter is not supposed to run in untrusted environment. It starts HTTP server on some port. It does not look safe enough to be included by default along with the rest of systemtap. Move systemtap-exporter, its systemd unit, configuration files and examples scripts into separate package. So if one needs it and understand its implication, he/she can include it explicitely. Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-18systemtap: fix QA issueMartin Jansa
ERROR: systemtap-4.0-r0 do_package: QA Issue: systemtap: Files/directories were installed but not shipped in any package: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/stap-exporter.service Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. systemtap: 4 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-17systemtap: Fix typo in chown commandRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-16systemtap: Fix issues from 4.0 upgradeRichard Purdie
4.0 adds systemd support but installs the unit files in the wrong location. Fix this in do_install and inherit systemd to package them correctly. Also fix ownership of files manually copied in to root:root to avoid QA warnings. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-26systemtap: improve reproducibilityHongxu Jia
- Fix build path issue of .pyc files: Supply "--root" directory to the "install" command. - Fix build path issue of c++ object files: Use relative dir to include header string_ref. - Fix build path issue of c library generated by distutils: Add OE's CFLAGS which contains `-fdebug-prefix-map' options to setup.py [YOCTO #12528] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-04-06systemtap: create translator packageconfigVictor Kamensky
For cases when systemap module compilation happens on host in cross-compilation mode, and it is desirable to minimize systemtap presense on target we need to have just smallest possible set of utilties that are required to run compiled modules. Introduce new "translator" PACKAGECONFIG, if it is not set it would mean that just minimal set of run-time utilities will be included in the package. For run-time only systemtap build variant use PACKAGECONFIG_pn-systemtap = "" or PACKAGECONFIG_pn-systemtap = "monitor" Suggested-by: Taras Kondratiuk <takondra@cisco.com> Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-05systemtap: Add HOMEPAGE info into recipe file.Fan Xin
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-30systemtap: ensure systemtap-native is availableSaul Wold
Since we are adding the addto_sysroot that that is specific to the native recipe, we must split this into a seperate -native .bb recipe. When systemtap-native is built, the intention is that it's usable from the native sysroot when done, ensure it's there with a forced addto_recipe_sysroot task, we also don't want to clean the sysroot when RM_WORK is enabled otherwise we loose the binaries. [YOCTO #11403] Signed-off-by: Saul Wold <sgw@linux.intel.com> (cherry picked from commit 2fdb59741b4fdeaa4aee10812c4a409cdc11a02d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-01systemtap: update to 3.1Alexander Kanavin
Removed patches are in upstream. Rebase monitor-option.patch and no-msgfmt-check.patch Add support for python 3 probes (this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch and the Add 0001-Install-python-modules-to-correct-library-dir.patch to install python modules to correct destination). Add perl to RDEPENDS to fix a QA warning about one of the installed files. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-10-05systemtap: rationalise dependenciesRoss Burton
Boost is an optional dependency but avoid build non-determinism by adding it as DEPENDS. It is only for the shared pointer types so can be disabled explicitly if required. Turn sqlite into a PACKAGECONFIG. Add a patch for the "monitor" feature to control the optional dependencies on ncurses and json-c. Previously this was enabled for target only but enable it everwhere now that json-c is available for native/nativesdk. Of course all of this was predicated about systemtap needing systemtap-native to be built, but it turns out that this dependency is due to oe-core 507bd2 which adds systemtap-native as DEPENDS for convenience. Remove this dependency, if the user wants systemtap-native then they can build it explicitly. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12systemtap: add build dependency on ncursesRoss Burton
systemtap has a floating dependency on ncurses but as bash is a RDEPENDS the build-rdeps sanity test doesn't fire due to a limitation of the test. Add an explicit dependency on ncurses to ensure the build is deterministic. [ YOCTO #9709 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-06-03systemtap: update to 3.0Alexander Kanavin
Remove docproc-build-fix.patch, as the build problem it's fixing now happens only if building html docs is explicitly enabled (which we do not do). Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-02systemtap: move to Python 3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton
In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-23systemtap: disable libvirtWenzong Fan
libvirt is automatically linked to if present, this undetermined dependency may cause build errors like: ../lib/libvirt.so: undefined reference to `libssh2_channel_open_ex' ../lib/libvirt.so: undefined reference to `libssh2_session_hostkey' ... Both libvirt and libssh2 are not oe-core recipes for now, just disable libvirt to fix this issue. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02systemtap: Add --enable-prologues to configurationTom Zanussi
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]. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-14systemtap: upgrade to 2.3Cristiana Voicu
Disabled javac and jar. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-09systemtap: fix build failure on host system with dyninst installedVictor Kamensky
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 Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-09systemtap: inherit pkgconfigMartin Jansa
* 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. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-02systemtap: add python and bash dependenciesTom Zanussi
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]. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-12systemtap: replace obsolete automake macros with working onesMarko Lindqvist
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. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-12meta: remove redundant _FOR_BUILD variablesRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-28systemtap: update to version 1.8Wade Farnsworth
Update the systemtap recipes to the recently released 1.8. Remove a couple patches whose changes are already present in the new version. Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
2012-06-08systemtap: Unbreak build for systems with nss headers installedAndreas Müller
* 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 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-05-25systemtap: fix build with automake 1.12Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-04-14systemtap: disable document generation by defaultTom Zanussi
Building the systemtap documentation adds significantly to the build time, so disable it by default. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-14systemtap: fix docproc build errorTom Zanussi
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]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-07systemtap: build and install uprobes.koWade Farnsworth
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. Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
2012-02-07systemtap: extend the recipe to build the native packageWade Farnsworth
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. Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
2012-02-07systemtap: bump SRCREV to grab version 1.7Wade Farnsworth
Bump SRCREV to the latest stable version of systemtap. Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
2012-01-06systemtap: remove not needed fix for automake 1.11.2Nitin A Kamble
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. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-01-03systemtap: fix configure with automake 1.11.2Nitin A Kamble
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 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-09-05systemtap: upgrade to 1.6Tom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-05systemtap: Don't set prefix to a path including so examples get placed in ↵Richard Purdie
the correct path and packaged correctly Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29systemtap: add sqlite3 to DEPENDSSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-06-23systemtamp: Add missing debug filesMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-16systemtap: remove non-core COMPATIBLE_MACHINESTom Zanussi
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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11systemtap: fix for compilation with gcc 4.6.0Nitin A Kamble
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-20systemtap: new packageTom Zanussi
Add systemtap, a general-purpose script-directed dynamic tracing and performance analysis tool for Linux. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>