aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/trace-cmd
AgeCommit message (Collapse)Author
2014-08-11trace-cmd: fix recompile errorRobert Yang
Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11kernelshark: add dependency on libxml2Martin Jansa
* fixes floating dependency: kernelshark-1.2+gitAUTOINC+7055ffd37b: kernelshark rdepends on libxml2, but it isn't a build dependency? [build-deps] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-11trace-cmd: Update to version 2.3.2Yasir-Khan
Current trace-cmd version 1.2 throws "recorder error in splice input" error while recording a trace on kernel version 3.10. Update the trace-cmd version to latest 2.3.2 to resolve this error and drop the redundant patches. * patches dropped - not needed anymore - trace-cmd-Add-checks-for-invalid-pointers-to-fix-seg.patch - backport - trace-cmd-Do-not-call-stop_threads-if-doing-latency-.patch - backport - trace-cmd-Setting-plugin-to-nop-clears-data-before-i.patch - backport - trace-cmd-fix-syntax-error-of-shell.patch - backport Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-08-11kernelshark: fix recompile errorRobert Yang
Fixed: make: *** No rule to make target `/path/to/sysroot/4.9.0/include/stddef.h', needed by `parse-events.o'. Stop. make: *** Waiting for unfinished jobs.... ERROR: oe_runmake failed This happens when upgrade gcc from 4.9.0 to 4.9.1, and the .parse-events.d isn't regenerated when recompile, the content of it are: [snip] parse-events.o: /path/to/sysroot/4.9.0/include/stddef.h [snip] And Makefile includes the .parse-events.d file if it exists, so there would be errors when /path/to/sysroot/4.9.0/include/stddef.h doesn't exist. Remove .*.d (a few .d files, its Makefile uses this wildcard) will fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-07-19kernelshark: Remove trace-cmd from the kernelshark packageDarren Hart
Fixes [YOCTO 6550] Images installing both trace-cmd and kernelshark would fail with: error: file /usr/bin/trace-cmd conflicts between attempted installs of kernelshark-1.2+git0+7055ffd37b-r3.core2_32 and trace-cmd-1.2+git0+7055ffd37b-r3.core2_32 This patch removes ${bindir}/trace-cmd from the install prior to packaging, as is already done with the ${datadir}. Reported-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> (cherry picked from commit eb08ae8f729ef77329892d19b23ddfdaa7953de0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-13trace-cmd: refactoring recipePetter Mabäcker
Fixes [YOCTO #4497] Refactoring recipe to avoid duplicated entries in trace-cmd and kernelshark bb-files. Also remove usage of FILESPATH and split package unique patches into separate dirs. Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Upstream-Status CleanupsSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-10kernelshark/trace-cmd: fix syntax error of shellChong Lu
Delete "<<<" syntax of bash in Makefile, else we would get following error: Syntax error: redirection unexpected [YOCTO #6112] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2013-08-30remove the unnecessary protocol parametersJackie Huang
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. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10trace-cmd: backport three patchesRoy.Li
Backport three patches to fix running issues. Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-21trace-cmd: Simplify SRC_URI patch entryRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14kernelshark: add missing ${D}Saul Wold
This was noticed by the following warnings of files that should have been removed! WARNING: QA Issue: kernelshark: Files/directories were installed but not shipped /usr/share /usr/share/trace-cmd /usr/share/trace-cmd/plugins /usr/share/trace-cmd/plugins/plugin_blk.so /usr/share/trace-cmd/plugins/plugin_sched_switch.so /usr/share/trace-cmd/plugins/plugin_kmem.so /usr/share/trace-cmd/plugins/plugin_kvm.so /usr/share/trace-cmd/plugins/plugin_function.so /usr/share/trace-cmd/plugins/plugin_jbd2.so /usr/share/trace-cmd/plugins/plugin_hrtimer.so /usr/share/trace-cmd/plugins/plugin_mac80211.so /usr/share/trace-cmd/plugins/.debug /usr/share/trace-cmd/plugins/.debug/plugin_blk.so /usr/share/trace-cmd/plugins/.debug/plugin_sched_switch.so /usr/share/trace-cmd/plugins/.debug/plugin_kmem.so /usr/share/trace-cmd/plugins/.debug/plugin_kvm.so /usr/share/trace-cmd/plugins/.debug/plugin_function.so /usr/share/trace-cmd/plugins/.debug/plugin_jbd2.so /usr/share/trace-cmd/plugins/.debug/plugin_hrtimer.so /usr/share/trace-cmd/plugins/.debug/plugin_mac80211.so Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02kernelshark: remove duplicate trace-cmd pluginsSaul Wold
Since kernelshark depends on trace-cmd, there is no reason to install and package the plugins that are part of trace-cmd. [YOCTO #238] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-07kernelshark: Inherit pythonnativeRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-31trace-cmd: Update for python-native changesMorgan Little
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-13trace-cmd: modifying License informationJeff Lance
* Adding "GPLv2 & LGPLv2.1" to create a dual license to cover the libraries. * Bump up PR Signed-off-by: Jeff Lance <j-lance1@ti.com>
2011-12-01trace-cmd: Add blktrace_api compatibility for TC_BARRIERDarren Hart
Newer kernels replace TC_BARRIER with TC_FLUSH. Ensure trace-cmd can build regardless of the linux-kernel-headers version. This is intended as a stop-gap to get the builds working again. A proper fix will need to be discussed with the trace-cmd community. RP: Tweaked the SRC_URI to remove unnecessary path and added PR bump Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-01trace-cmd: Update to 1.2 (includes kernelshark)Darren Hart
Update the trace-cmd and kernelshark recipes to version 1.2. Rename the recipes to the more descriptive trace-cmd_1.2.bb and kernelshark_1.2.bb respectively. Update addldflags.patch for 1.2 and current Upstream-Status (Accepted). Add make-docs-optional.patch to avoid building the new doc target which requires asciidocs. We should add asciidocs and properly package the docs, but for now it's more important to get the sources current. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-07-05kernelshark/trace-cmd: Clean up QA warnings including fising LDFLAGS issuesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-23trace-cmd: Add missing debug filesMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-05-04poky-default-revisions: move the SRCREV to recipe fileYu Ke
in this case, those non poky distro can also use these recipe normally Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-12trace-cmd: Bump SRCREV and recipe PV and PR values.Darren Hart
Upgrade to 6c696cec3f264a9399241b6e648f58bc97117d49 which includes fixes to the Makefile to allow for user override of CC and AR via the environment as well as python SWIG wrapper fixes. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com>
2011-01-06kernelshark: add ftrace gui viewerDarren Hart
The trace-cmd source includes a graphical trace viewer, but we don't want to make the trace-cmd recipe depend on gtk+. This patch adds a second recipe in the meta/recipes-kernel/trace-cmd directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd to ensure compatibility. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Saul Wold <sgw@linux.intel.com>
2011-01-06trace-cmd: license file updatesDarren Hart
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
2011-01-06trace-cmd: fix cross-compilationDarren Hart
The trace-cmd Makefile forces certain variables, such as CC and AR. It was using the host gcc and loader, fix it to use the poky-built cross-compiler and linker. inherit pkgconfig to ensure we don't use the host pkg-config. Remove unecessary variables from the oemake commands, such as ARCH and LD which aren't used by the Makefile. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com>
2010-09-27trace-cmd_git.bb: remove DEPENDS of glibc since there is a system default forSaul Wold
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-27Major layout change to the packages directoryRichard Purdie
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>