summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap
Commit message (Collapse)AuthorAgeFilesLines
...
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Move to current HEADTom Zanussi2014-04-051-1/+1
| | | | | | | | | | | | This moves the systemtap recipe to the current HEAD commit, in order to get users past some bugs affecting ppc and arm. Fixes [YOCTO #6016] (From OE-Core rev: efac179f243459c53d0431fbcce92a3561b40956) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap_git: update to newer version to fix a build issueNitin A Kamble2014-02-141-2/+2
| | | | | | | | | | | | | | | | | | This build issue was observed with the 2.4+git version of the systemtap. .../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In function 'void validate_module_elf(Dwfl_Module*, const char*, base_query*)': .../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:1998:10: error: 'EM_AARCH64' was not declared in this scope .../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In constructor 'sdt_uprobe_var_expanding_visitor::sdt_uprobe_var_expanding_visitor(systemtap_session&, int, const string&, const string&, const string&, stap_sdt_probe_type, const string&, int)': .../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:5613:31: error: 'EM_AARCH64' was not declared in this scope This is a known issue, and it is already fixed in the upstream tree. Updating the recipe to get the commit which fixes the issue. (From OE-Core rev: 5170f58f4a46edead40d98f302ba3294e078c113) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: add aarch64 supportFathi Boudra2014-02-091-7/+2
| | | | | | | | | | | | bump SRCREV to include the relevant commits for aarch64 support update COMPATIBLE_HOST to include aarch64 cleanup md5sum/sha256sum since we use git (From OE-Core rev: 1c2cbd3b54a9bf589d41c8320734a95af52c36d6) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Add --enable-prologues to configurationTom Zanussi2014-01-021-1/+1
| | | | | | | | | | | | | | | | 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 rev: 798faec374cac7743d2b5bf390ef6263a0e6cdf4) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-022-2/+2
| | | | | | | | | | | | | | 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. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade to 2.4Cristiana Voicu2013-11-271-2/+2
| | | | | | | (From OE-Core rev: fb8ccbd06929aa539c39e65fb8926a945db922ea) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade to 2.3Cristiana Voicu2013-08-162-5/+5
| | | | | | | | | | 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>
* systemtap: fix build failure on host system with dyninst installedVictor Kamensky2013-08-121-1/+1
| | | | | | | | | | | | | | | | 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>
* systemtap: inherit pkgconfigMartin Jansa2013-07-101-1/+1
| | | | | | | | | | | | | * 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>
* systemtap: Systemtap can not be build w -O0 optimizationMark Hatle2013-06-251-0/+11
| | | | | | | | | | | | | | | | Systemtap will fail with: ../usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) Use the same technique that eglibc uses to catch and correct the optimization level, changing to -O2. (From OE-Core rev: 9ceebb966e5294a270222475ab6317dcae2952fa) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Upgrade to v2.1Radu Moisan2013-03-182-19/+7
| | | | | | | | (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: add python and bash dependenciesTom Zanussi2013-03-021-0/+4
| | | | | | | | | | | | | | | 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>
* systemtap: replace obsolete automake macros with working onesMarko Lindqvist2013-02-123-1/+29
| | | | | | | | | | | | | 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>
* Update the SRC_URI in systemtap recipeMaxin B. John2012-12-141-1/+1
| | | | | | | | | | | The SRC_URI in systemtap recipe uses 'sources.redhat.com' which redirects to 'sourceware.org'. This causes random fetch failures. Updating the recipe to use the direct link. (From OE-Core rev: 340841f8a5c8225ccb77b628f55a668c9d1097ec) Signed-off-by: Maxin B. John <Maxin.John@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove redundant _FOR_BUILD variablesRoss Burton2012-11-121-4/+0
| | | | | | | (From OE-Core rev: acabd2158d9004dedfdfad8c170b77d32684f3fc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)Robert Yang2012-11-021-2/+2
| | | | | | | | | | | | | 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>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-1/+1
| | | | | | | | | | | | | | | 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>
* systemtap: use ${datadir} instead of /usr/share for packagingJavier Martinez Canillas2012-08-061-3/+3
| | | | | | | | | | It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 095f9c056373a252c0ba2679d8e6f4ad932a958d) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to version 1.8Wade Farnsworth2012-06-284-78/+3
| | | | | | | | | | 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-083-7/+54
| | | | | | | | | | | | | | * 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-253-1/+25
| | | | | | | (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: Ensure FILESPATH is set so systemtap-uprobes can find patchesRichard Purdie2012-04-141-0/+2
| | | | | | | | | This allows systemtap-uprobes to build again after the recently added patch broke the builds. (From OE-Core rev: 4bbe926f3ca68297d70849bab67177da624316d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: disable document generation by defaultTom Zanussi2012-04-141-0/+4
| | | | | | | | | | 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>
* systemtap: fix docproc build errorTom Zanussi2012-04-143-2/+27
| | | | | | | | | | | | | 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>
* More quoting fixesMartin Jansa2012-02-261-1/+1
| | | | | | | | | | * We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. (From OE-Core rev: 960ee8076e860353a05eb2eb7f825a455c54698d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: build and install uprobes.koWade Farnsworth2012-02-083-15/+61
| | | | | | | | | | | | 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>
* systemtap: extend the recipe to build the native packageWade Farnsworth2012-02-081-2/+6
| | | | | | | | | | | 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>
* systemtap: bump SRCREV to grab version 1.7Wade Farnsworth2012-02-081-3/+3
| | | | | | | | | 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>
* systemtap: remove not needed fix for automake 1.11.2Nitin A Kamble2012-01-062-50/+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>
* systemtap: fix configure with automake 1.11.2Nitin A Kamble2012-01-032-1/+48
| | | | | | | | | | | | | | | | | | | | 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-052-127/+7
| | | | | | | | | | | 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: Don't set prefix to a path including so examples get placed in ↵Richard Purdie2011-07-071-2/+2
| | | | | | | | the correct path and packaged correctly (From OE-Core rev: 4cfb662d2aaca9ff7225186e206b4d2dfffbe2a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: add sqlite3 to DEPENDSSaul Wold2011-06-291-1/+1
| | | | | | | (From OE-Core rev: 2d16b471080bb22989e9582a430d10e2838f9334) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtamp: Add missing debug filesMark Hatle2011-06-231-1/+3
| | | | | | | (From OE-Core rev: 456b7bf83847f8c53de460317ce7f2f58d91a84c) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: remove non-core COMPATIBLE_MACHINESTom Zanussi2011-06-161-2/+3
| | | | | | | | | | | | 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>
* systemtap: fix for compilation with gcc 4.6.0Nitin A Kamble2011-05-112-1/+121
| | | | | | | (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>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-041-0/+1
| | | | | | | | | 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>
* systemtap: new packageTom Zanussi2011-01-201-0/+28
Add systemtap, a general-purpose script-directed dynamic tracing and performance analysis tool for Linux. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>