summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/systemtap/systemtap_git.inc
Commit message (Collapse)AuthorAgeFilesLines
* systemtap: Backport GCC-14 related calloc fixesKhem Raj2024-02-031-0/+2
| | | | | | | | (From OE-Core rev: 06ad41e0097902d46ad5affd99b1c716dbb27d71) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix libdebuginfod auto detection logicVictor Kamensky2023-12-201-0/+1
| | | | | | | | | | | | | | Addresses an issue when systemtap is built in situation where debuginfod is not part of DISTRO_FEATURES and latest SystemTap has problem of auto detecting libdebuginfod library as it was reported by Martin Jansa in [1]. [1] https://lists.openembedded.org/g/openembedded-core/message/192109?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Csystemtap%2C20%2C2%2C0%2C102987514 (From OE-Core rev: bf635f8f2258f8b8beb0adb8dead2b6b40b2274a) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: do not install uprobes and uprobes sourcesVictor Kamensky2023-12-061-0/+1
| | | | | | | | | | | | | | Addresses the following do_package_qa warning: WARNING: systemtap-5.0-r0 do_package_qa: QA Issue: File /usr/share/systemtap/runtime/linux/uprobes/Makefile in package systemtap contains reference to TMPDIR File /usr/share/systemtap/runtime/linux/uprobes/git_version.h in package systemtap contains reference to TMPDIR File /usr/share/systemtap/runtime/linux/uprobes2/git_version.h in package systemtap contains reference to TMPDIR [buildpaths] (From OE-Core rev: db668fdba9920fc4066eda8af0ff112f341ee09b) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.9 -> 5.0Victor Kamensky2023-12-061-3/+3
| | | | | | | | | | | | | | Similar to 4.9 release, in 5.0 release release-5.0 tag is off any branch, release-5.0a tag e72dc118e563c645d93a1a2d771e8d90e8fec1ae is on the master branch. Use this value for SRCREV and add catch up patch, 0001-prerelease-datestamp-fixes.patch, to bring source up to release-5.0 tag level. Remove 0001-prerelease-datestamp-fixes.patch in next upgrade. (From OE-Core rev: 2d0cb9b21ccee93027fd12a51b74d3821cd03d2e) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.8 -> 4.9Victor Kamensky2023-06-061-2/+3
| | | | | | | | | | | | | | | | | | | SystemTap 4.9 release went out with a little hick up: release date was not set correctly and fix for it was added as ebb424eee5599fcc131901c0d82d0bfc0d2f57ab commit and tagged as 'release-4.9'. Unfortunately by that time 'master' branch already has moved on, and it turns out that now 'release-4.9' tag does not belong to any branch. On other hand OE SRC_URI does complain about git uri without branch. To deal with it we will use SRCREV set to 418f0a45ca4473491385b5c7eef777607bbdb3b7, commit one that precedes ebb424eee5599fcc131901c0d82d0bfc0d2f57ab, and add separate patch for ebb424eee5599fcc131901c0d82d0bfc0d2f57ab as 0001-release-date-fix.patch. Note for any future version move: please remove 0001-release-date-fix.patch (From OE-Core rev: 2a10dc2a80a42368b222a7a832dd342a9c2d9d0a) Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-051-1/+1
| | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.7 -> 4.8Alexander Kanavin2022-12-181-3/+2
| | | | | | | | (From OE-Core rev: e36500d0cd980c27ceecb0aec6d76b10ed6e2f2f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: add a patch to address a python 3.11 failureAlexander Kanavin2022-08-231-0/+1
| | | | | | | | (From OE-Core rev: df312a4c8ad84a9d12c4eec94d48a66420c8988b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update 4.6 -> 4.7Alexander Kanavin2022-05-201-4/+2
| | | | | | | | | | Drop backports. (From OE-Core rev: 589f030dec438ee8ea54991b9e471482285ef4b7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Enable for riscv64Khem Raj2022-03-061-1/+1
| | | | | | | (From OE-Core rev: a209c05dcb631eb85d67c40727623a4c131071fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: backport buffer size tuning patchesRoss Burton2022-02-011-0/+1
| | | | | | | | | | | Backport a nunber of patches from upstream to tune the buffer size on machines with a "small amount" of memory, which appears to mean less than 4GB. (From OE-Core rev: d1e1c8698a5143a1e5d80d172105b76c57b85dd6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix vsprintf errorsRoss Burton2022-01-151-0/+1
| | | | | | | | | | In some configurations (such as 32-bit arm), using printf() causes gcc errors. Backport a patch from upstream to fix this. (From OE-Core rev: 6340a6477ddf0fee6c18cf99262704a715491f60) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.5 -> 4.6wangmy2021-11-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for 64-bit RISC-V architecture, liveness analysis for guru-mode write operations, bpf syscall_any and abort() tapsets, bpf foreach iteration of multi-key arrays, return of inter-cpu output ordering Changelog is as follows: = SystemTap frontend (stap) changes - stap-prep now tries to download the main kernel debuginfo file from a debuginfod server, if configured. = SystemTap backend changes - SystemTap has added support for the 64-bit RISC-V architecture. - SystemTap now uses DynInst to perform a liveness analysis on target variables and warn when a guru-mode modification to a variable will have no effect. The liveness analysis is currently done on x86_64, PowerPC, and AArch64. - The kernel-user relayfs transport again sorts messages into a total time order across CPUs. High output-volume scripts may need a larger "-s BUF" parameter to reliably transfer. "-b" bulk mode is also available again as an alternative. - The bpf backend now supports foreach iteration in multi-key associative arrays. = SystemTap tapset changes - Updated syscall_any tapset mapping to include newer syscalls. - syscall_any tapset can be used by the bpf backend. - abort() tapset can be used by the bpf backend. = Known issues with this release - There are known issues on kernel 5.10+ after adapting to set_fs() removal, with some memory accesses that previously returned valid data instead returning -EFAULT (see PR26811). - An sdt probe cannot parse a parameter that uses a segment register. (PR13429) - The presence of a line such as *CFLAGS += $(call cc-option, -fno-var-tracking-assignments) in older linux kernel Makefile unnecessarily reduces debuginfo quality, consider removing that line if you build kernels. Linux 5.10+ fixes this. = Bugs fixed for this release <https://sourceware.org/PR#####> 6562 $SYSTEMTAP_DEBUGINFO_PATH does not work 15724 stapdyn looking for libdyninstAPI_RT.a 26839 Systemtap build failures with clang 27820 abort() tapset not implemented in the bpf mode 27829 support for floating point values passed through sdt.h markers 27864 loc2stap.cxx assertion failure on loc_unavailable type location, rawhide 27881 failed to extend vma mapped entry when the address is adjacent 27903 handle f33 glibc $$parms 27932 List Python as a prerequisite in README 27933 Use of unitialized functioncall synthetic field in 27934 failure to attach statement 27940 The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")' 27942 testsuite/systemtap.base/perf.sh drop bashism 27984 stap skipping partially-inlined instance, but it is not inline function actually 28070 extend vma end address to the different module 28079 adapt to kernel 5.14 task_struct.__state change 28084 autoconf-x86-uniregs.c compile failled with -Werror cause STAPCONF_X86_UNIREGS missing 28140 kernel panic on tracepoint activation in stap module 28184 task_fd_lookup failed on linux 5.11 28244 linux objtool imposes symbol length limits on generated function names 28384 finish nfs_proc tapset port 4.3 string server_ip 28443 Provide syscall_any tapset for bpf 28449 loss of cross-cpu output ordering 28544 procfs_bpf.exp regression due to string handling error 28557 module kprobe insertion on modern kernels (From OE-Core rev: 99ed4a3d78f8224d414bd49d887333a4509529f3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 4.5-latestBruce Ashfield2021-09-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To fix issues with 5.14+ kernels, we bump to the latest 4.5 systemtap. This means that we can drop a backported patch, and we pickup the following changes: 7f6992539 Correct RISC-V handling of SDT markers and document their format. 2dfd140fd Fix races in perf probe task finder callback f463f6053 The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")' 0bd97a806 Use task_state tapset function to avoid task_struct changes 4996a29c6 tapset: start adopting kernel netif_* tracepoints in netdev.* tapset fb0851e62 dwflpp.h: add conditional EM_RISCV define c5599df8e Add dwarfless register access for RISC-V 33d861435 Add bactrace support for RISC-V 2ae3fc866 RISC-V dwarf register number to pt_reg mappings 3df603720 Eliminate the sa_restorer field in sigaction struct for RISC-V. a6aff9d33 Avoid generating problematic asynchronous unwind tables on RISC-V a463860c3 Add RISC-V 64-bit processor support 8486fd78d Add the actual RISC-V syscall-number mappings to the tapsets. 1e383aa38 Add creation of mappings between syscall names and numbers for RISC-V aedb2dbe7 RISC-V doesn't have crash available, disable it for rpmbuilds. 33a9bf1a1 Update to newer config.guess to support RISC-V 3bca17469 Use lex_cast instead of to_string when shortening function names. 0b5bc934a Revert "runtime: unregister the control channel before cleaning up" 166a95089 runtime: fix panics when polling on the control channel while unloading e6a1b008b Shorten function names that will exceed the kernel's objtool limit of 128 4f54ba033 runtime/transport: add a comment blurb for ordering invariant at shutdown dbe08f1ac runtime: unregister the control channel before cleaning up 798a67290 bpf pr23478 :: test non-unique key/val iteration 079f5d708 bpf pr23478 :: test multi-key associative array iteration 70b24879d rhbz1938312: un-disable bpf.exp after kernel bugfix 2896d6f5a pr23478 WIP: fixes for existing foreach testcases 0d1a38dbc pr23478 WIP: rework bpf foreach to handle multi-key array 14a2c8f54 Run task_fd_lookup.exp with --compatible 4.0 f2c147767 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw 0581a6560 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw 559fd51fe testsuite: time-limit auxiliary child processes 5d89bb03e stapbpf bugfix: missing in_block() in try-catch code 04b43f48f releng: ditch custom pie/ssp CFLAGS engine in configure.ac b47d03c20 PR28079: Adapt to kernel 5.14 task_struct.__state change e66f3a83b runtime: adapt to -Werror=implicit-fallthrough=5, dyninst runtime ea00c1070 PR28140: kernel 5.14-rc adaptation, jump_label_patch ffb0a38ea runtime: adapt to -Werror=implicit-fallthrough=5 efba2178f Revert to using test_tsk_thread_flag for uprobes2 23db8b29f PR27984: Adjust the address so dwfl_module_addrinfo finds correct function name a29f65d57 PR28079: Adapt to kernel 5.14 task_struct.__state change 2f7e966c0 testsuite item typo fix 5abb4d130 PR27934: give fuller diagnosis for pass-5 probe-registration errors 371805aa0 PR27820 tapset/bpf/logging.stp: implement abort() tapset function ee361f183 PR27820 tapset/bpf/logging.stp: move bpf versions of functions 968173f7f runtime: linux 5.14 compat: <linux/panic_notifier.h> ef5a8b9ed runtime: fix unintended compile error with autoconf-x86-uniregs.c 84ef6bd9f Revert "systemtap.spec: don't buildrequire emacs" 65fc44163 spin-rawhide: ok tweak the git-archive top level path too c7f1c12e1 spin-rawhide: switch to ~ versioning for Source: file names too bff2b2ff5 spin-rawhide: switch to ~ versioning for n-v-r 7c2751e37 task_finder_vma: add autoconf check for hlist_add_tail_rcu() ea7c27bbe Don't fail vma tracking mmap callback if module is already known. 2eb7fdfdb Use the path instead of the module for vma tracking mmap callback. a5104a612 update READMEs + man pages for freenode -> oftc move 23c351645 Update list of reasons for latencytap.stp example 5409ddea1 rhbz1972805: add basic syscall-in-ptregs support for s390x 0fc73fc4e systemtap.spec: don't Require: libvirt 515a6a2d6 rhbz1972828: tapsets: iommu tracepoints eaf63df6a ppc64 runtime: FULL_REGS() gone 757d4f654 c++ buildability: util.cxx - unique_ptr 1a6e7aea7 systemtap.spec: don't buildrequire emacs 5ff28c970 Allow for adjacent segments belonging to different modules. b1e8cd5de Note that Python is a requirement. 27115ab4c Get the enumerator's enumeration type 1288bee31 testsuite/systemtap.base/perf.sh drop bashism 4755bc453 Add hlist macros for use by hlist_add_tail_rcu bccf5123f parse.cxx: Initialize functioncall synthetic field 9bbee6518 Add hlist_add_tail_rcu for rhel 6. 630e406b8 Don't assume ISO C99 4a3ad3532 Extend vma mapped entries when the address is adjacent. 294b7a53e stap-prep: switch to using main vmlinuz file as debuginfod test download 643351d22 PR27903: grok more glibc dwarf 3a843482a c++11 hygiene: use cxx_override macro for pre-4.7 g++ 3e9bcd7b1 Fix more -Wformat-nonliteral and -Wmismatched-tags when compiling with clang 8e5145ae4 dtrace: Use -o option to specify output file for CPP b3a392975 Fix -Wformat-nonliteral and -Wformat warnings with clang 545535f82 Fix -Woverloaded-virtual warnings when building with clang 0f4bd3219 set2: Return this from assignment operator 6de815bca Add missing copy constructors to set1_ref and set1_const_ref 930b54119 Add some override specifiers where missing 14f04522b util.cxx: Use abs() instead of labs() 13016e9dd systemtap.spec: python3 tweaks 494ece199 PR27864: tolerate loc_unavailable during loc2c transform e8f5c058f autoconf: version bumps for the next release-4.6 77abac91d version bumps for the next release-4.6 0eba8a46b NEWS: release-4.5 (From OE-Core rev: aa27c2e7570f229bf82f18cf07aae93ba96ca9f6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-1/+1
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Fix headers issue with x86 and 5.13 headersRichard Purdie2021-07-301-0/+1
| | | | | | | | | | | | | On some x86 platforms there were header issues causing pt_regs compile failures for our stap tests, e.g. on genericx86-64 but not qemux86-64. Backport a patch from upstream which fixes the issue. [YOCTO #14491] (From OE-Core rev: a4ad6c88b683b7310ef46d89b1add80b0f41bf2d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update 4.4 -> 4.5Alexander Kanavin2021-05-251-3/+2
| | | | | | | | | | | Drop 0001-transport-protect-include-and-callsite-with-same-con.patch as upstream made the same change: https://sourceware.org/git/?p=systemtap.git;a=commitdiff;h=0d80048e02ecf6876c9f9ebeea387af9fb2a8051 (From OE-Core rev: 1d207eac08d9392b0ae53a2e740aabad72e57750) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix on target build for 4.4 and 5.10+Bruce Ashfield2020-12-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following systemtap commit: commit 7615cae790c899bc8a82841c75c8ea9c6fa54df3 Author: Frank Ch. Eigler <fche@redhat.com> Date: Mon Nov 9 19:18:19 2020 -0500 PR26665: relayfs-on-procfs megapatch Changes the way that capabilities are checked when compiling a systemtap probe. In our cross-build -> on target workflow, this results in a mismatch between the systemtap configuration capabilities and the kernel configuration. The result is a compilation failure since the security components are protected by two different #ifdef's, and they can be out of sync. By protecting the include and callsite with the same #ifdef, we ensure they are in sync and fix our on target problem. While this fix is oe-specific, a variant will be proposed upstream once a deeper analsysis of other options has been completed. (From OE-Core rev: 25fa864270efe3ff5699a1bf9ebdf599e96362a5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.3 -> 4.4zangrc2020-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test log of oe-selftest is as follows: 2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap) 2020-11-23 17:06:55,949 - oe-selftest - INFO - ... ok 2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap) 2020-11-23 17:08:07,921 - oe-selftest - INFO - ... ok 2020-11-23 17:08:07,922 - oe-selftest - INFO - test_crosstap_syscalls_by_pid (runtime_test.SystemTap) 2020-11-23 17:09:20,084 - oe-selftest - INFO - ... ok 2020-11-23 17:09:20,085 - oe-selftest - INFO - test_crosstap_syscalls_by_proc (runtime_test.SystemTap) 2020-11-23 17:10:31,349 - oe-selftest - INFO - ... ok 2020-11-23 17:12:58,052 - oe-selftest - INFO - ---------------------------------------------------------------------- 2020-11-23 17:12:58,054 - oe-selftest - INFO - Ran 4 tests in 5051.537s 2020-11-23 17:12:58,054 - oe-selftest - INFO - OK 2020-11-23 17:13:08,416 - oe-selftest - INFO - RESULTS: 2020-11-23 17:13:08,417 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_helloworld: PASSED (4686.81s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_pstree: PASSED (71.97s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_pid: PASSED (72.16s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_proc: PASSED (71.26s) 2020-11-23 17:13:08,432 - oe-selftest - INFO - SUMMARY: 2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest () - Ran 4 tests in 5051.540s 2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=4, skipped=0, failures=0, errors=0) (From OE-Core rev: 5f635423f00e7469e89f6729d973ca447a3ff11b) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 4.3 latestBruce Ashfield2020-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating systemtap to the latest of the 4.3 release branch. Without this update we cannot pass on-target sanity tests with a 5.8 kernel. Changelog is as follows: 82b8e1a07 (HEAD -> master, origin/master, origin/HEAD) Make dtrace generated code work with LTO (take 2) 03a6c471a Fix --enable-http build errors by always using MHD_Result 87344e948 PR26307: rhel6 porting tweak redux 24810e5ac PR26307: rhel6 porting tweak 327956981 java/HelperSDT.c: correct 32-bit pointer cast warnings 2f3580f40 PR26307: adapt to kernel module_sect_attr changes in 5.8+ 84bc64ff1 systemtap.spec: let -testsuite subrpm require elfutils-debuginfod 27b087e7f PR26249: "%p" -> "0x%lx" pointer formatting in *conversions.stp error messages 5e1ef9d7f PR25568 / RHBZ1857749: sdt_buildid.exp test case e90530877 PR25568 / RHBZ1857749: buildid/uprobes/inode rework, task_finder etc. side 40dbe72af PR26234: stapbpf should warn about other unsupported derived_probe types 82f358beb testsuite: shrink output a9a0131eb rhbz1857749: uprobes-inode regression in sdt semaphore setting ce0fa621e configury: make systemtap buildable with gcc -flto e5a63d9c0 Make dtrace generated code work with LTO e8070f260 Revert "Make dtrace generated code work with LTO" b26a86bfb systemtap.spec: comment syntax tweak 8212024da Make dtrace generated code work with LTO 601778117 PR26234: stapbpf should warn about unsupported utrace_derived_probes c7d4f550e testsuite: block listing_mode_sanity large tests on small machine 046fa017d RHBZ1847676 cont'd: one more uprobes-inode/onthefly concurrency control a8351c3dc runtime: startup dmesg %p decloaking 65d6fbd21 run-stap.in: forget about bundled elfutils build mode 57c76ab3f PR25549: format tweak 143974310 PR25549: statement probe visibility for openmp / lto binaries c6831f14e testuite: More @cast() fallout a4d7b3797 README: modernize f1a9bb064 Tapset and testsuite updates against @cast() change 00ee19ff03 4ccdfe453 RHBZ1847676 cont'd: more uprobes-inode/onthefly concurrency controls 487d6b6e8 tapset: *user_string* formatting directive tweaks b266d0bf8 PR26142: Adapt to linux/vermagic.h file hiding ... but with proper include order 79000b42e PR26142: Adapt to linux/vermagic.h file hiding ... but not on rhel6 37066e2c3 PR26142: adapt to linux mmap_sem api transition 6af5df835 PR26142: Adapt to linux/vermagic.h file hiding 403e92779 PR26181: Use explicit @cast() within get_ip_from_client() 4bb36e7fb Exclude some __NR_compat_* defines for newer aarch64 kernels a948c291c Use explicit @cast() operators pointing to kernel for tapsets 469d20e8b PR26131: garbled data might appear in staprun data channel output 36430614d Use kernel.trace("sched:sched_process_fork") for kprocess.create when possible b2d18cb3a Use explicit @cast() operators for semop-watch.stp example. 3d922919d Use explicit @cast() operators for periodic.stp 9a2cd427a PR24758: increase stack size for BPF userspace interpreter 3040d4e8d Use explicit @cast() operators for stapgames/pingpong.stp tapset. 9eb37102d Use explicit @cast() operators for pfiles.stp and ioctl_handler.stp 7a28529f6 Remove the unneeded test_support check the lwtools meta info 717b7dddd Use explicit @cast() operators to fslatency-nd.stp and fsslower-nd.stp 2b2b6a622 Fix sizeof.stp to explicitly use kernel debuginfo if one not specified db91f0291 bpf.exp: tentative fix for bigmap1.stp hang on RHEL8 11c39a737 RHBZ1847676: uprobes-inode tweaks redux 0a281a96d Make sizeof.stp runnable with the bpf backend. 5b8f6c174 remove comment fb59e8c75 PR26123: fixed memory leaks in vma map for kernels without CONFIG_UTRACE. cc7b62017 Add overcommit.stp to examples that can run in bpf. ac8f2b7c9 configury: post-release version bump 7a7016a12 Avoid exceeding space constraints for the BPF environment in mmfilepage.stp c488859d6 Avoid exceeding space constraints for BPF environment in mmwriteback.stp (From OE-Core rev: 06f0e54c06a9e07dabb612a907bbf2542b5ac52e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.2 -> 4.3Alexander Kanavin2020-06-281-2/+2
| | | | | | | (From OE-Core rev: adcdc3281062c62e89d7a7f67381a548b1e543de) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: remove the unneeded patchAlexander Kanavin2020-01-101-1/+0
| | | | | | | | | | As the problem is now fixed with a backported patch to gettext itself, the patch is no longer needed. (From OE-Core rev: f1dc63a9129c8f5deafa188065933cf3b220a673) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix builds with newer gettextAlexander Kanavin2019-12-181-0/+1
| | | | | | | (From OE-Core rev: 44d01006eda42cdad9ed05978fc78e4f79bbdef9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 4.2Alexander Kanavin2019-11-251-2/+2
| | | | | | | | (From OE-Core rev: 8ba5ecb17a08b29bbb314b6a498b17ac88f7f17c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Drop patches merged upstreamRichard Purdie2019-09-061-5/+1
| | | | | | | | | Several of our patches were merged upstream just beyond our current version. Update to that version and drop them. (From OE-Core rev: 815a956f7bf4de031b7764f27f3eac005a15b5ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Use latest and greatest git version for 5.2 kernel supportRichard Purdie2019-09-061-2/+2
| | | | | | | | | | Systemtap has issues with the 5.2 kernel which are fixed in master, we helped debug and submitted some of the patches. Update to a git version which includes all the fixes. (From OE-Core rev: 7054ec111c7a011adb8a39b3a70292b29470e2aa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.0 -> 4.1Alexander Kanavin2019-05-221-2/+2
| | | | | | | (From OE-Core rev: 3c87e898695bb53aa595a380fdac881c24bfd6b9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to enable 5.0 kernel capabilitiesBruce Ashfield2019-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the systemtap 4.0 SRCREV to pick up changes that have been made to support newer kernels (and in particular 5.0). root@qemux86-64:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp [ 246.303263] stap_4843: loading out-of-tree module taints kernel. hello world root@qemux86-64:~# The following commits are included in this update: 90ff34ac0 If available, use kernel's save_stack_trace_regs() for fallback stack unwind a9b0aa4db testsuite/systemtap.bpf :: tests should return, not exit 0 83f229abb cachestat.stp: workaround the current limitations of trace_printk f912d520f Newer kernels tapsets may use the kprobe.function("*") adjust alias_tapset.exp. fe569f964 Handle name change of do_brk to do_brk_flags in the newer kernels 71dbdc9f9 Newer kernels tapsets may use the kprobe.function("*") adjust pp.exp check. 20d23f97a Correct at_register.stp test arch name for arm64. e0bcc2f92 cachestat.stp: new example based on a bpftrace script by David Valin 18d1baceb session.cxx diagnostics: don't dump kernel_functions below verbose=6 25b181ae4 Add __NR_chmod for missing defines on aarch64 2276b109e Add more __NR_* for missing defines on aarch64 (and ppc64) e34d66dee PR24239: avoid symbol/type resolution of unused globals/functions 49d74d4fa Correct the at_register.exp test c77884dcd Turn on guru mode for at_deref1.stp use of @kderef a9a15a3f8 RHBZ1689180: correct group name typos in staprun.8 e7146dbfe Regenerate syscall_num.stp grouped by syscall name. 6bcf09813 Group initialization using the same string literal together in syscall_num.stp 3752574dc Regenerate the syscall mapping information to add aarch32 to aarch64 syscalls af74da7b7 Update dump-syscalls.sh to generate 32-bit syscalls for aarch64 60144c0fa Match arm64 non-dwarf syscall probe points d36f6fee8 PR24199: don't use exceptions to signal type-resolution failures 5e50524ff PR24199: at pass-2 verbosity > 3, trace $var error-chaining events 40f855fd5 PR24199: loc2stap: propagate dwarf DIE() source locations better af9ef3369 Adjust noptrace.stp to avoid modifying ptrace syscall arguments ca3946e62 Update pfiles.stp to work with Linux 4.17 and newer 9d3a1cd66 PR24217: stap -p2 speedup, condition-expression processing ba7b83ec1 Conditionally define __NR_bdflush in systemtap runtime. cdf77a210 testsuite/systemtap.bpf :: couple of bpf_tests clarifications d6b529c43 fix embedded-c tag memoization thinko d81a001ad pass-2 optimization: embedded-c code pragma searching 1832b8f51 Set up a BPF related testcase blacklist for regression testsing purposes. 4e7686951 linux api update: compat_time* structs 1ac5a4499 linux api update: FAN_ALL_CLASS_BITS 17c2d352a unwinder: increase MAX_CFI to 8192 after a census of CFI sizes on Fedora 29 2e373d294 runtime: adapt to uapi/linux/mount.h changes 6b0430b6b dummy commit to force buildbot rebuilds d3964067f buildrun.cxx: older g++ compatibility: no std::string.back() 6b2838df5 Handle installation without stapusr group f90ca3096 Simplify creation of groups during installation 38184abcd Fix get_user_pages() autoconf test for 4.4.y kernel e2e13220f lkm-runtime time.c: prefer 4.15+ ktime_get_real_fast_ns eb8c8de94 linux 5.0-rc3 adaptations de5061899 parser: allow larger arrays 0fc1a5019 stap man page: document histogram per-bucket access/iteration 905865da1 PR16406 fixup :: correct comparison in _stp_module_check c8084763b PR10280 initial fix: force vermagic for guru-mode scripts 3a29a2eef Make testcase at_var.exp work with stap-4.1+ and kernel-4.17+ 53ff2b5df stap-prep: switch typo ($NEEDED => $package) 68bd23fd0 PR16596: add support for DW_OP_GNU_entry_value in location expressions aacee6563 Make sysc_bdflush.stp compatible with 4.17+ kernels. 891810c24 configury: tolerate dyninst10's need for -lboost_system ec3b46eb9 RHBZ1655631: systemtap.spec: use Recommends: for kernel-*-devel eef17e743 runtime/unwind: Allow to increase MAX_CFI 47ce37a14 systemtap.spec: merge unbotch - missing %changelog f082df49d systemtap.spec: importing fedora rawhide changes c9a393275 staprun/mainloop.c :: fix for loop initial decls 266c72bd0 PR23866 part: expose raw syscall tracepoint to bpf ab368ac2a PR23891: Make sure stap and staprun respond to SIGTERM when stderr/stdout are blocked 0a0595509 Fix segfaults in dwarf array pointer subscripting when -vvv is specified 4a8652800 Make opeartor @var() no longer assume @entry() in return probes. f5c19712c Add the ucalls.stp to the systemtap examples. 7d82f1bdc Adjust tcp_trace.stp example to work with newer Linux kernel's timers f6d683666 Adjust the vfs_open to provide cred variable with 4.18 kernels 008a0cbfd Userspace_probing.xml: change '-ldd' to '--ldd' command line option. e6227e5df bpf-translate.cxx: don't clobber any earlier value of c cbf3b6e6a bpf-translate.cxx: quiet a compiler warning 824e9ab80 PR23890 bonus: show nicer messages upon a buildid mismatch fba365b4d PR23890: tolerate f29+ style ELF files 6c94b6d42 PR23747: tolerate symbols with odd section#s d60dac71a systemtap.bpf/asm_tests :: fix documentation / expected result 0eaf4f196 PR23875 bpf_unparser::visit_foreach_loop(): temporarily disable string key iteration 8c1452d10 PR23875: another testcase that loops indefinitely 584d61dc0 PR23875 bpf.exp: fail testcase on 'stack smashing' 0128e1daf PR23860 bpf_interpret() :: NEG should not fall through to DIV 75640f70d Adjust the periodic.stp example to work with newer Linux kernels ca225a1cc stap -vv: also print kernel build-tree path name 28cf23f8e testcase for PR23875 3733caeba PR23860: reduce stack pressure from format strings 7a5716bb8 PR23860: additional ugly stack/clobber protection for strings 021f906e5 PR23860: additional stack protection for strings 02861e63c PR23860 bugfix: incorrect comparison direction in string_copy() e428db474 PR23507: add new command-line option to disable automatic unread global variable display b2ba3af9a pr23860 verifier workaround :: be sure to delete all mov rN,rN 08861a20f PR23507: add underscores to global @this variables 4ee1ae49a PR23761: generalized @entry cc6e13e62 standardize ktime_get_ns() across lkm, bpf runtimes fbee58bda bpf behind-the-scenes :: useful DEBUG_CODEGEN diagnostic 7209427d4 Always use nssInit for http and nss server. 72ef87bba PR23860 partial fix: fix BPF_NEG opcode generation. 8fb0cb4a7 PR23829 :: fallback defines __BPF_FUNC_MAPPER and BPF_J{LT,LE,SLT,SLE} for older kernels 686ba2980 tapset/bpf/task.stp :: rudiment of task tapset 0e6a26ff4 PR23849 -- temporarily disable stapbpf script caching c0002c5ad prometheus-exporter samples: change reported metric name 1b50200ff stap-exporter: drop initial demo scripts under .examples; not used 3582845f5 powerpc64: add missing system call defines 57550d39d aarch64: add missing system call defines 856ddcedb tapset/bpf/context.stp :: add execname(), triage other functions 61b00f37d tapset/bpf/conversions.stp bugfix :: helper name in kernel_string(addr, err_msg) a47bc40eb bpf-asm.exp bugfix :: bad_output does occur 14e5ff4e6 bpf-translate.cxx :: fix segfault with malformed register b530b0193 Fix miscellaneous errors/typos in syscall tapset ae51c4d99 On aarch64 Linux system calls related SystemTap scripts compilation fail with "__NR_compat_[exit|read|write] redefined" errors after following two commits: 3d9e0d2a5 Adjust the BPF translate error report formatting to work on 32-bit architectures 0a4d384a8 session.cxx :: enable caching for bpf backend 5ada58a9f bpf-translate.cxx :: plug an exception gap in is_numeric() c009fe88d Merge branch 'serhei/bpf_asm' -- kernel_string() tapset and experimental bpf assembler 0b3a813f5 testsuite/systemtap.bpf :: diagnose a bug in print_format("%s%s", ...) 110f739b3 stapbpf assembler WIP #8 :: bpf-asm.exp driver and more testcases 4d68a526b stapbpf assembler WIP #7 :: fixed kernel_string() tapset and testcase da6c4aef4 stapbpf assembler WIP #6 :: other call functions ({s}printf and tapset) e534cf2a7 PR21080: support added for new pkey_* syscalls 0e0f0e386 stap-exporter examples: use symlinks rather than copies fddf715d1 Use NSS_InitContext instead of NSS_Init. 6a3a804e4 prometheus tapset: add dump_array_*_unquoted variants 4e81610ae nfsd tapset: adapt nfsd.proc4.commit probe to different kernel versions 4cd50f30a PR23799 - sprint_ustack() always returns empty string values 8bc640345 nfsd tapset: adapt nfsd.proc4.read probe to different kernel versions 7b76b6b60 step-prep: on debian/ubuntu machines, attempt "apt-get -y install" 10b3f049e Use cast to make c->cycles_sum aways match the %lld format. d95f81630 Add more quantitative data to error message when probes exceed threshold f4d49b79b Avoid using target variable in target_set.stp for syscall.* probes. 5aafdc55e Avoid using target variables for syscall.write in print_user_buffer.stp. bb93c70a1 Avoid using target variables in signal.stp for syscall.* based probe points. 784d4fc04 Add buildok/syscall_any.stp to list of tests dyninst will not run. 910395ba0 kprocess.exec_complete should avoid using $return from syscall.execve.return d4550e6c0 stapbpf assembler WIP #5 :: basic kernel_string() implementation 9ae578690 stapbpf assembler WIP #4 :: alloc and (helper) call operations f12e7d8eb stapbpf assembler WIP #3 :: additional assembly test cases f3fdcc936 Fix searching of kernel_source_tree for kernel built with O option dd57c7387 postrelease version bump for future version 4.1 2881d9d95 stapbpf assembler WIP #2 :: testcases (no driver so far) db79925e5 stapbpf assembler WIP #1 :: basic parser and control flow (From OE-Core rev: 18e1f2859ad213febb3438618e7d7ee57f401ff4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: 3.3 -> 4.0Victor Kamensky via Openembedded-core2018-10-161-3/+2
| | | | | | | | | | | | | | | | | | | | Upgrade systemtap from 3.3 to 4.0: Removed backported patch. Very short summary of major changes from SystemTap 4.0 announcement by Frank Ch. Eigler <fche@redhat.com>: > prometheus exporter network service; ebpf support extensions including > strings and implementation of traditional log(), sprintf() functions; > rebuilt rich tapset coverage for 4.17+ syscalls and for > tracepoint-based syscalls; script language tweaks for supporting > machine-generated scripts Fixes [YOCTO #12950] (From OE-Core rev: d7f828223f3fabdadcff974c1ed6f8f74e438405) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix unintialized memory accesses in dwflpp::function_entrypcVictor Kamensky via Openembedded-core2018-07-261-0/+1
| | | | | | | | | | | | Observed failure in SystemTap v3.3 unit testing, It was tracked down to unintialized memory access in dwflpp::function_entrypc method. Upstream-Status: Backport (From OE-Core rev: 7e465c75e317718ed81a76a6c3e487668e7db1ab) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: 3.2 -> 3.3Victor Kamensky via Openembedded-core2018-07-261-14/+2
| | | | | | | | | | | | | Upgrade systemtap from 3.2 to 3.3: Removed all backported patches. Removed "remove quotes around -I include" pending patch since 3.3 got similar fix already. Resolved merge conflict in and regenerated monitor-option.patch patch. (From OE-Core rev: d8a60b324c340bf88e2e8650f4771030490709c5) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: don't build under muslRoss Burton2018-04-181-0/+1
| | | | | | | | | | systemtap uses obstack.h and FTW_SKIP_SUBTREE, both of which are GNU extensions in glibc. (From OE-Core rev: 80286cb2e979097800a51801c92e015421482daa) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: support --sysroot option in variety of situations in cross buildVictor Kamensky2018-04-071-0/+9
| | | | | | | | | | | For details on issues fixed please look at commit message of individual patches. Upstream-Status: Backport [systemtap@sourceware.org] (From OE-Core rev: 5aa93de3a79c8691e74e982d3d4b0099b04f5555) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "systemtap: Cross compilation fix"Victor Kamensky2018-04-071-1/+0
| | | | | | | | | This reverts commit 787bed708676fc04aee2850825e803273152f657. (From OE-Core rev: 08ab022471eff48e6f43ec8cd47e695d575ee2e3) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Backport a fix for build with gcc8Khem Raj2018-04-031-0/+1
| | | | | | | (From OE-Core rev: b751e865375b325df4083d85af191da4dc3a27ee) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: bring in PR22551 fix that addresses build against 4.15 kernel issueVictor Kamensky2018-03-281-0/+1
| | | | | | | | | | | | | With 4.15 kernel systemtap needs update to address systemtap module compilation issues. It is fixed in later version of systemtap by PR22551. Upstream-Status: Backport (From OE-Core rev: 7425d03729507ac5aff3c75ba20e749beaf3a3d5) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: supports mips starting with version 3.1Victor Kamensky2018-03-281-2/+1
| | | | | | | | (From OE-Core rev: 3e098ef3424e1126aa4b0ecc29e1941efba687b7) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: 3.1 -> 3.2Huang Qiyu2018-01-191-2/+2
| | | | | | | | | | Upgrade systemtap from 3.1 to 3.2. (From OE-Core rev: 4f2db007a760498421c7f0c27870cabea108ee23) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap_git.inc: Add microblazeel as a supported architectureBhargava Sreekantappa Gayathri2018-01-021-1/+1
| | | | | | | | | This patch adds microblazeel as a supported architecture for systemtap. (From OE-Core rev: 6a9746d95e87cce4a3c72cc10842727ecaa7c60f) Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Bump SRCREV for 4.12 Linux kernel supportSaul Wold2017-09-111-2/+3
| | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | 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-011-4/+4
| | | | | | | | | | | | | | | | | | | 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/+1
| | | | | | | | | | | | 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/+1
| | | | | | | | | | | | 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/+1
| | | | | | | | | | | | | | | | | | | | | | 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-3/+2
| | | | | | | | | | | 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_git.inc: do not immediate expand SELECTED_OPTIMIZATIONHongxu Jia2016-01-311-8/+4
| | | | | | | | | | | | | | | We need to expand SELECTED_OPTIMIZATION later, so do not immediate expansion, and do the work in anonymous python function. It is reasonable to give an error for -O0. [YOCTO #7058] (From OE-Core rev: 3d2455c1959283b956cb7536cd866717fefc10e8) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to 2.9Alexander Kanavin2015-12-161-2/+2
| | | | | | | | (From OE-Core rev: 9083d25fa797272137737577228a3f7a5d95b27f) 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>