summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/turbostat
Commit message (Collapse)AuthorAgeFilesLines
* recipes: set S to fix the QA warningalperak2024-06-211-1/+3
| | | | | | | Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-2/+2
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* turbostat: fix the build failure for new v5.7-rc6 kernelYanfei Xu2020-05-221-4/+16
| | | | | | | | Due to the new v5.7-rc6 kernel has some modify in header files, turbostat build failed. Now match the files. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: Fix build failure for missing kernel internal heaers and clean upHe Zhe2020-03-271-3/+6
| | | | | | | | | | | | | | | | | | To fix the following build failures turbostat.c:(.text+0xc28a): undefined reference to `UL' turbostat.c:33:10: fatal error: sys/capability.h: No such file or directory (for kernel v5.6-rc7) - Add dependency on libcap for kernel v5.6-rc7 and later versions - Copy internal linux/const.h used by previously added internal linux/bits.h - Tweak linux/const.h to allow it to refer to uapi const.h, as linux-libc-headers purposely removes _UAPI from the locker macros of the headers - Remove -I for kernel-source in EXTRA_OEMAKE, as linux-kernel-headers has provided enough and necessary headers - Make do_configure depend on kernel's do_shared_workdir Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: set PACKAGE_ARCH as MACHINE_ARCHQi.Chen@windriver.com2019-07-101-0/+1
| | | | | | | | This recipe depends on 'virtual/kernel', so it should be MACHINE_ARCH. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: copy bits.h from kernel to turbostatLiwei Song2019-05-241-0/+2
| | | | | | | | because bits.h was included in msr-index.h, so we also need copy bits.h from kernel to tubostat to aviod compile error. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: Provide a persistent COPYING fileKhem Raj2018-08-292-7/+24
| | | | | | | | | we were having static md5 sum but the COPYING file was very much tied to certain versions of kernel this makes it fail for several different kernel versions so lets keep the upstream version of copying file Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: add the recipe of turbostat to meta-oeHongzhi.Song2018-05-291-0/+58
It is an efficient and necessary tool to reflect the status of X86 processors. Turbostat reports processor topology, frequency, idle power-state statistics, temperature and power on X86 processors. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>