summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qemuarm: Swap for an arm7ve (A15) configurationJon Mason2019-03-128-17/+52
| | | | | | | | | | | | | | Add new QEMU BSP for a Arm Cortex-A15 system and use this as qemuarm, moving the old armv5te Versatile PB based machine to qemuarmv5. The new machine uses the QEMU virt machine type, which should be faster to emulate and updates the qemuarm support to a modern architecture. (From OE-Core rev: 6fc70eb4f3494bee2be10ee24fe3ea1c8b5ff988) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: fix SRC_URI patching with unified reposBruce Ashfield2019-03-121-1/+1
| | | | | | | | | | | | | | | As reported by Paul Barker, my attempt to allow the patching of kernel meta data broke other repository configurations, since the meta data patch routing was matching too broadly and the same repo would end up being patched twice. Using his suggested fix, we are up and running with both types of repos again. (From OE-Core rev: 0fd09633e3c2fb4668c7700516d288f8c5356ff6) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: fix system tap for armBruce Ashfield2019-03-123-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Richard Purdie's kernel patch to fix systemtap on arm: [ arm/Makefile: Fix systemtap Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and soon, qemuarm. root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin make -C /lib/modules/4.19.19-yocto-standard/build M=/tmp/staptcNU6M modules CONFIG_DEBUG_INFO= CONFIG_STACK_VALIDATION= ARCH=arm stap_4321_src.i --no-print-directory -j2 V=1 test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/staptcNU6M/.tmp_versions ; rm -f /tmp/staptcNU6M/.tmp_versions/* make -f ./scripts/Makefile.build obj=/tmp/staptcNU6M (cat /dev/null; echo kernel//tmp/staptcNU6M/stap_4321.ko;) > /tmp/staptcNU6M/modules.order gcc -Wp,-MD,/tmp/staptcNU6M/.stap_4321_src.o.d -nostdinc -isystem /usr/lib/gcc/arm-poky-linux-gnueabi/8.3.0/include -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Iinclude2/asm/mach-default -I/lib/modules/4.19.19-yocto-standard/build -include /tmp/staptcNU6M/stapconf_4321.h -D "STP_NO_VELREL_CHECK" -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 -fno-ipa-icf -Wno-unused -Wno-tautological-compare -Werror -I/usr/share/systemtap/runtime -DMODULE -DKBUILD_BASENAME='"stap_4321_src"' -DKBUILD_MODNAME='"stap_4321"' -c -o /tmp/staptcNU6M/stap_4321_src.o /tmp/staptcNU6M/stap_4321_src.c /tmp/ccaE9CMG.s: Assembler messages: /tmp/ccaE9CMG.s:49: Error: selected processor does not support `dmb ish' in ARM mode /tmp/ccaE9CMG.s:52: Error: architectural extension `mp' is not allowed for the current b (which was from running the stap command with -v -v -v -k and then being able to run the command individually) Note that it says armv5t above. That comes from the code this patch changes root@qemuarm:/usr/src/kernel# gcc -march=armv7-a /tmp/staptcNU6M/stap_4321_aux_0.c cc1: error: -mfloat-abi=hard: selected processor lacks an FPU which makes me wonder if cc-option fails unless -mfpu-vfp is on the commandline too. Since we have a gcc which accepts the armv7-a arch, just remove the cc-option wrapper unconditionally here. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> ] (From OE-Core rev: 8c446ac6c1bba1502ac0a710a39b90c78fff41a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-4.19: Fix systemtap issue on armv7Richard Purdie2019-03-122-1/+64
| | | | | | | | | | | | | Add temporary patch to fix the systemtap issue on armv7 with the 4.19 kernel until Bruce is able to merge this into the repos, similarly to the fix for 5.0 kernel. Alternative patches are being discussed upstream but this fixes the issue for us for now in a simple way since we know the gcc versions we use. (From OE-Core rev: 491f72a2fd8053c4f54fa9b261c65cb394880d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: Add the v5.0 kernel support for all the BSPsKevin Hao2019-03-111-12/+12
| | | | | | | | | | Boot test for all the boards. (From meta-yocto rev: 8abaf3bfbbb6c0dd51e35ef4c3f6e8455b9109d4) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: introduce 5.0 bbappendBruce Ashfield2019-03-111-0/+27
| | | | | | | | | | Although the hardware reference boards are not using the 5.x kernel yet, we generate a baseline bbappend for future work. (From meta-yocto rev: c3b875dcc01de567ba0320bcba5922000cfb2e2f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa*: Add missing BASE_LIB tune overridesSteven Hung (洪于玉)2019-03-114-0/+7
| | | | | | | | | For multilib to work correctly, BASE_LIB overrides must be provided. (From OE-Core rev: b32ec63e48a3552f2e7f3cc5caf61432af716283) Signed-off-by: teven Hung (洪于玉) <Steven.Hung@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-cortexa35: fixed typoSteven Hung (洪于玉)2019-03-111-1/+1
| | | | | | | | | "cortexa53" -> "cortexa35" (From OE-Core rev: caa2eb174a997e98c52362442e9a1ccfa4f7e9f7) Signed-off-by: Steven Hung (洪于玉) <Steven.Hung@mediatek.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: fix build with squashfs support enabledMartin Jansa2019-03-112-0/+25
| | | | | | | (From OE-Core rev: 342f7cc6b07559238274ff2fe281afa4ea742052) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xprop: update to 1.2.4Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: 8e660efb2d067f47afeb2ce064eff319082da77f) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nspr: update 4.21Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: f0083af1bba06fbf7aa4ed524f6a34a42555a8bd) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: update to 3.42.1Armin Kuster2019-03-112-37/+2
| | | | | | | | | remove nss-fix-SHA_HTONL-bug-for-arm-32be.patch now included (From OE-Core rev: 0de293ce514c24305a520b2291158477f77cb3ac) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: update 2.0.19Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: bff8b18aef79a4190b040a1af25e004e9a5f7007) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: update to 1.4.1Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: 080968f54027dd66fb891e4d39f181578ebebdc3) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xmodmap: update to 1.0.10Armin Kuster2019-03-111-3/+2
| | | | | | | (From OE-Core rev: e56b2cb52f6ecd233bfdfd5f8a8177aeea830726) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xvinfo: update to 1.1.4Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: 42eb4ef981231afc307e36938409c8ff21abe43c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libfontenc: update to 1.1.4Armin Kuster2019-03-111-3/+3
| | | | | | | (From OE-Core rev: 6b2d08aec549a42f623977ac9dedcd1b53cc9406) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxkbcommon: update to 0.8.4Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: 60cd3bf93c259464e69c0384eafc2b2d90edec85) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xhost: update to 1.0.8Armin Kuster2019-03-111-2/+2
| | | | | | | (From OE-Core rev: 077a78de4dfc05611fd0eeeab6670c7ea9aea96c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-selftest/virgl: Exclude centos7 from the kmscube testRichard Purdie2019-03-111-0/+6
| | | | | | | | | This test does not work on centos7 so diable it (as was done in the original series before we thought it was working). (From OE-Core rev: c27cdf83bc2b8ff802a5c4e0b49f18174af8e34a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: time.tzset missingArmin Kuster2019-03-092-1/+2
| | | | | | | | | | | | | | | import time time.tzset() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'time' has no attribute 'tzset' enable tzset in both python versions (From OE-Core rev: 28e631d6dbc0a126253c0a072b8f39ff683bfa3a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: remove redundant jpeg dependencyRoss Burton2019-03-091-1/+1
| | | | | | | | | The JPEG parser doesn't use libjpeg. (From OE-Core rev: 94e2e294e2788c233d7e8932c20d6699cb28b1ea) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-ugly: remove redundant libid3tag dependencyRoss Burton2019-03-091-1/+1
| | | | | | | | | The use of this library was removed in 2012. (From OE-Core rev: 807a9361d0b00fb884ac9fc1aae227f613808913) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libid3tag: actually apply 10_utf16Ross Burton2019-03-092-1/+1
| | | | | | | | | | | do_patch() doesn't apply files called .dpatch, so rename it to .patch. Fixes CVE-2004-2779. (From OE-Core rev: 6e5dcb4027fbf3e65c0aad2ded36ce387ca7f917) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* puzzles: Fix build with gcc9 on risc-vKhem Raj2019-03-092-0/+34
| | | | | | | (From OE-Core rev: 67ccdb8fd87edb7c12790d25e8722a09b13b8351) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-1.9: Drop the recipesKhem Raj2019-03-0919-771/+0
| | | | | | | | | We now have 1.11 and 1.12 (From OE-Core rev: 277162917331b235863eec31cbe82c101f0e4efe) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Add recipes for 1.12 release and make it defaultKhem Raj2019-03-0920-4/+964
| | | | | | | | | | - Refresh patches - Enable GOCACHE required as of Go 1.12 (From OE-Core rev: f559fd6df2978f9093672794420eada2b7452987) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: fix systemtap for armBruce Ashfield2019-03-093-3/+3
| | | | | | | | | | | | | | | | | | We need to enable the arm unwinder for systemtap to work out of the box: root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp [ 1600.955262] stap_2097: loading out-of-tree module taints kernel. hello world This option is useful for much more than systemtap, so it is a good idea to have on in the base configs. It make the image slightly larger, but has no performance impacts. (From OE-Core rev: 8a3cc10c2deb933866e384b326d730d17a49a269) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: synchronize unistd.h between libc-headers and perf sourceBruce Ashfield2019-03-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the build for some architectures, perf generates a program which executes on the host to dump the syscall table. The generation of that program uses the cross compiler + sysroot to expand unistd.h. As such, we are getting the contents of that file from linux-libc-headers. The compilation of that generated program uses the host compiler and a restricted include path to the perf source code. In the perf source there is a captured unistd.h, as such it will be used when compiling the host executable. The perf source code is copied from the kernel version that is being built .. so we have a mismatch between the generation and the compilation of the host program. Normally this mismatch is fine, but if the libc-headers are newer than the kernel, we'll have syscalls (and their syscall numbers) that are not defined in the perf source code. This leads to a compiler error and a cascading failure of the perf build due to a missing generated file. To fix this, we can copy unistd.h from the recipe-sysroot into the perf source code and they will always be in sync. (From OE-Core rev: 3a23e094c4189af878e467f1636aea63955e250d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc: Slightly more verbose log messages in the success caseDouglas Royds2019-03-091-1/+2
| | | | | | | | | | The path containing the symlinks to icecc itself. The path to the build env tarball. (From OE-Core rev: 4b1f421ab5c7e5a3ee7bad5744149d331c6e0511) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* inetutils: Fix build on RISC-VKhem Raj2019-03-091-0/+2
| | | | | | | (From OE-Core rev: d9561a471d9f0698c70acc86a33ee809f9f44e5a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rm_work: sort the value of do_build dependenciesMing Liu2019-03-091-2/+1
| | | | | | | | | | This fixes some 'basehash changed' errors when rm_work is being inherited. (From OE-Core rev: e74158b6cc1d683ab14ef5d47ec531f986fc2259) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* device-tree.bbclass: Add support to compile overlays separatelyJaewon Lee2019-03-091-2/+5
| | | | | | | | | | | | | | | Currently only dts files are considered when looping through files to compile. Modifying the loop to compile other files that are overlays. Also surrounding this check with a try block as the function to find overlays parses the file for a '/plugin/' tag, and there may be files in the DT_FILES_PATH directory that are not parseable. (From OE-Core rev: bb1629820443bfedc72378a7c88f0656a2f3f7f1) Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: make mips devsrc files backward compatbileBruce Ashfield2019-03-091-2/+2
| | | | | | | | | | | The additions done to devsrc to support the 5.0 kernel should have had a graceful failure mode, since the files/directories won't be present on older (or different) kernel versions. (From OE-Core rev: 3f0cada40a9f70704a3dc78daddb4a8cbd7dee80) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Upgrade 3.26.0 -> 3.27.2Adrian Bunk2019-03-072-10/+11
| | | | | | | (From OE-Core rev: eb12c672c8f9a0d85a38e84cf0f6aa000bb1cf9f) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/resulttool: Enable manual result store and regressionYeoh Ee Peng2019-03-072-19/+26
| | | | | | | | | | | | | | | To enable store for testresults.json file from manualexecution, add layers metadata to configuration and add "manual" map to resultutils.store_map. To enable regression for manual, add "manual" map to resultutils.regression_map. Also added compulsory configurations ('MACHINE', 'IMAGE_BASENAME') to manualexecution. (From OE-Core rev: 7521834f8557565d3898605257c7fd9505ea22bb) Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Add configure-unsafe and configure-gettextRobert Yang2019-03-071-7/+21
| | | | | | | | | | So that the errors can be controlled by ERROR_QA or WARN_QA, and make them work with INSANE_SKIP. (From OE-Core rev: 4b86ebb6a87f75421a1d12d9d5dde303938c2e9f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: Make INSANE_SKIP work for qa pkgconfig and laRobert Yang2019-03-071-5/+15
| | | | | | | | | | | The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the problem. [YOCTO #13087] (From OE-Core rev: 756d6419f10d388c5daa63b7607e580d8b5079f1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: backport patch to fix parallel build failureChen Qi2019-03-072-0/+119
| | | | | | | | | | | | | | | Backport patch to fix parallel build failure like below. In file included from ../git/src/core/dbus-manager.c:10: ../git/src/basic/build.h:4:10: fatal error: version.h: No such file or directory #include "version.h" ^~~~~~~~~~~ compilation terminated. (From OE-Core rev: 89712946c10f1c762175053e1945b7d0f330c446) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* metadata.py: return info after fallback methodsChen Qi2019-03-071-0/+1
| | | | | | | | | | | | | If python3 git module is not installed, we fall back to some git command to get info. A previous commit (b8d22ed6) accidently deleted the return statement, causing errors like below. Exception: UnboundLocalError: local variable 'InvalidGitRepositoryError' referenced before assignment (From OE-Core rev: cd8aedc408afa4f8589f79e4d85befc7cac76ac6) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: add files required for on-target build with 5.xBruce Ashfield2019-03-071-0/+10
| | | | | | | | | | | | Both powerpc and mips require a few new files for the scripts and prepare targets to work with a 5.0 kernel. We add the required files to the architecture specific blocks, with appropriate backwards compatibility considerations. (From OE-Core rev: 124c6bf5a0a5cc20d2ebbf04dc7b577cb4f5153a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-kernel-dev: add systemtap and dependenciesBruce Ashfield2019-03-071-0/+3
| | | | | | | | | | To allow the kernel-dev image to test systemtap, we add the userspace and required image configuration. (From OE-Core rev: 317f95ad38d2d24f4ee40eb737e4f0d6ace6e3f0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: update to enable 5.0 kernel capabilitiesBruce Ashfield2019-03-072-37/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* gdb: Upgrade 8.2 -> 8.2.1Adrian Bunk2019-03-074-2/+2
| | | | | | | (From OE-Core rev: 7158b68335450c601a660cbae3ec2ecc26754a84) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Remove compatibility for ancient hostsAdrian Bunk2019-03-074-80/+0
| | | | | | | | | | | | | Lack of be32toh() is handled upstream since 2014. Linux 2.6.23 was released 2007, distributions with kernels older than that are far outside the host distributions still supported today. (From OE-Core rev: c4d77ddd13ad43b52f22a32dc7a3d34cc2692dce) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: .gitattributes: Add to improve git diff for minified css/js filesRichard Purdie2019-03-071-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.poky: Add pointers to key contributions wiki guidesRichard Purdie2019-03-061-0/+13
| | | | | | (From meta-yocto rev: 7b2ba7e227ac582aafa0fc45049672974c3e1565) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Add oe-pylintRichard Purdie2019-03-061-0/+11
| | | | | | | | | | | | | Add an oe-pylint wrapper around pylint3 to run static analysis on our python codebase. For now display errors and exclude common warnings which are not applicable to our codebase. The aim is to start generating this report on the autobuilder and to improve our score over time. (From OE-Core rev: 0a306d4f706b55f64228c7a0a14ff1ad127d7df9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: add readlink to HOSTTOOLSRoss Burton2019-03-061-1/+1
| | | | | | | | | If systemd has EFI enabled it uses readlink. (From OE-Core rev: ace3c0fff40604450ea8f0a669aaa37fbe730069) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils: Fix create_wrapperAchille Fouilleul2019-03-061-1/+1
| | | | | | | | | | | | | | | | | Wrappers generated by create_wrapper do not work properly: python, for example, looks at argv[0] to know if it is running from a virtualenv. Because the wrapper replaces argv[0] with python's canonical path, python cannot tell whether it has been invoked directly or from a virtualenv symlink. This change makes the wrapper pass the original argv[0] down to the real command. (From OE-Core rev: 791e5bfcb449024f295a4f8f507c1012cff76f9d) Signed-off-by: Achille Fouilleul <achille.fouilleul@gadz.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>