From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../packagegroup-core-tools-profile.bb | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb (limited to 'meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb') diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb new file mode 100644 index 0000000000..80f3031ff5 --- /dev/null +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb @@ -0,0 +1,86 @@ +# +# Copyright (C) 2008 OpenedHand Ltd. +# + +SUMMARY = "Profiling tools" +LICENSE = "MIT" + +PR = "r3" + +inherit packagegroup + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# For backwards compatibility after rename +RPROVIDES_${PN} = "task-core-tools-profile" +RREPLACES_${PN} = "task-core-tools-profile" +RCONFLICTS_${PN} = "task-core-tools-profile" + +PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}" +PROFILE_TOOLS_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}" + +RRECOMMENDS_${PN} = "\ + perf \ + trace-cmd \ + kernel-module-oprofile \ + blktrace \ + ${PROFILE_TOOLS_X} \ + ${PROFILE_TOOLS_SYSTEMD} \ + " + +PROFILETOOLS = "\ + oprofile \ + oprofileui-server \ + powertop \ + latencytop \ + " + +# systemtap needs elfutils which is not fully buildable on uclibc +# hence we exclude it from uclibc based builds +SYSTEMTAP = "systemtap" +SYSTEMTAP_libc-uclibc = "" +SYSTEMTAP_mips = "" +SYSTEMTAP_mips64 = "" +SYSTEMTAP_aarch64 = "" + +# lttng-ust uses sched_getcpu() which is not there on uclibc +# for some of the architectures it can be patched to call the +# syscall directly but for x86_64 __NR_getcpu is a vsyscall +# which means we can not use syscall() to call it. So we ignore +# it for x86_64/uclibc + +LTTNGUST = "lttng-ust" +LTTNGUST_libc-uclibc = "" +LTTNGUST_aarch64 = "" + +LTTNGTOOLS = "lttng-tools" +LTTNGTOOLS_aarch64 = "" + +LTTNGMODULES = "lttng-modules" +LTTNGMODULES_aarch64 = "" +LTTNGMODULES_arm = "" + +BABELTRACE = "babeltrace" +BABELTRACE_aarch64 = "" + +# valgrind does not work on mips + +VALGRIND = "valgrind" +VALGRIND_libc-uclibc = "" +VALGRIND_mips = "" +VALGRIND_mips64 = "" +VALGRIND_arm = "" +VALGRIND_aarch64 = "" + +# exmap-console +# exmap-server + +RDEPENDS_${PN} = "\ + ${PROFILETOOLS} \ + ${LTTNGUST} \ + ${LTTNGTOOLS} \ + ${LTTNGMODULES} \ + ${BABELTRACE} \ + ${SYSTEMTAP} \ + ${VALGRIND} \ + " -- cgit v1.2.3-54-g00ecf