summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap
Commit message (Collapse)AuthorAgeFilesLines
* systemtap: Bump SRCREV for 4.12 Linux kernel supportSaul Wold2017-09-111-0/+62
| | | | | | | | | | | | | | | | | | This SRCREV bump brings in support for the 4.12 Linux Kernel, this kernel also has some newer CONFIG settings. The newer DEBUG_INFO and DEBUG_INFO_DWARF4 settings can be used with systemtap to get the full information. We do not normally enabled these for a 'production' (standard) kernel, but can be enabled via menuconfig. When installing staprun and stapbpf on the target and native ensure we don't try to create a new group and chown it. There is no need since we will be running as root, so we add a patch to comment that code out. (From OE-Core rev: 026403cc7f995ecc32a99f269399a08abc221c77) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Add patch to remove quotesSaul Wold2017-03-081-0/+38
| | | | | | | | | | | | This fixes the -I include lines that are getting passed to the kernel macros [YOCTO #10990] (From OE-Core rev: b4d2f41a474c111e5fc64cae635d851386d860ba) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 3.1Alexander Kanavin2017-03-016-65/+100
| | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix native linking on recent UbuntuRoss Burton2016-11-151-0/+41
| | | | | | | | | | | | The latest Ubuntu uses yet more aggressive hardening options, which causes the unconventional build order used by systemtap to fail. [ YOCTO #10521 ] (From OE-Core rev: 5ca6ac8739ea4a273df7b8e5c5f7d481619923d8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: remove explicit msgfmt checkRoss Burton2016-11-151-0/+15
| | | | | | | | | | | | Passing --disable-nls should be enough to disable the requirement for a full gettext to be present, but the upstream configure explicitly checks for msgfmt even if it isn't going to be used. To avoid having to depend on gettext-native, patch this check out. (From OE-Core rev: 2f8d2a74f73490c1ae35131d3eb3592f7ee0a1e4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: rationalise dependenciesRoss Burton2016-10-051-0/+28
| | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: fb9dc1cf7a2d6d5e22beb68f17b4c9c8d1136e37) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 3.0Alexander Kanavin2016-06-041-19/+0
| | | | | | | | | | | 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). (From OE-Core rev: 1310a71a81e0b19919fc622f676fa6106be6cf9d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Fix build in x32 ABIAníbal Limón2015-03-201-0/+34
| | | | | | | | | | | | Add a patch for fix printing of time_t value that is long long int in x32 ABI instead of long int. [YOCTO #7423] (From OE-Core rev: 194f0be44fa37605d0b5897138848fa378593d62) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Upgrade to 2.6 Git VersionSaul Wold2014-11-091-22/+0
| | | | | | | | | Remove backported patch (From OE-Core rev: 89a900cb356504bc56e507412adaf5a0d5043ac9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: disable libvirtWenzong Fan2014-09-231-0/+39
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 815b44914eb30b86dfce0e81ffda7884e0efcc34) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Cross compilation fixMikhail Durnev2014-09-031-0/+23
| | | | | | | | | | | | This is a cross compilation fix. It allows systemtap to find the kernel map file in the right place, i.e. in the kernel build tree. Without this fix it takes a map file from the build host, if available. (From OE-Core rev: 787bed708676fc04aee2850825e803273152f657) Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Fixed probe syscall.sendfile failureMikhail Durnev2014-09-031-0/+22
| | | | | | | | | | Marked __syscall.compat_sendfile as optional (From OE-Core rev: 74bfb662246411aa062cd8b2acd37be1bbed39d3) Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Upgrade to v2.1Radu Moisan2013-03-181-17/+5
| | | | | | | | (From OE-Core rev: 7f572cecd89a992a7120c73f936c27d9fc030f57) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: replace obsolete automake macros with working onesMarko Lindqvist2013-02-121-0/+27
| | | | | | | | | | | | | 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>
* systemtap: update to version 1.8Wade Farnsworth2012-06-282-73/+0
| | | | | | | | | | 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>
* systemtap: update Upstream-Status and use correct syntaxAndreas Müller2012-06-131-1/+1
| | | | | | | | | | | patch was applied [1] http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=41df51cb6a6d3f09f8b57cb216dffa5ba335e326 (From OE-Core rev: 7fbe687da742be638d8c19f522d22fe9d6e8147a) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Unbreak build for systems with nss headers installedAndreas Müller2012-06-081-0/+50
| | | | | | | | | | | | | | * 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>
* systemtap: fix build with automake 1.12Nitin A Kamble2012-05-251-0/+23
| | | | | | | (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>
* systemtap: fix docproc build errorTom Zanussi2012-04-141-0/+19
| | | | | | | | | | | | | 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>
* systemtap: remove not needed fix for automake 1.11.2Nitin A Kamble2012-01-061-46/+0
| | | | | | | | | | | 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>
* systemtap: fix configure with automake 1.11.2Nitin A Kamble2012-01-031-0/+46
| | | | | | | | | | | | | | | | | | | | 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>
* systemtap: upgrade to 1.6Tom Zanussi2011-09-051-119/+0
| | | | | | | | | | | 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>
* systemtap: fix for compilation with gcc 4.6.0Nitin A Kamble2011-05-111-0/+119
(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>