aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/turbostat
AgeCommit message (Collapse)Author
2020-05-28turbostat: fix the build failure for new v5.7-rc6 kernelYanfei Xu
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> (cherry picked from commit 90bcc2bd494c2c7a0a43e1d0c4943cdd061e929d) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-27turbostat: Fix build failure for missing kernel internal heaers and clean upHe Zhe
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>
2019-07-10turbostat: set PACKAGE_ARCH as MACHINE_ARCHQi.Chen@windriver.com
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>
2019-05-24turbostat: copy bits.h from kernel to turbostatLiwei Song
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>
2018-08-29turbostat: Provide a persistent COPYING fileKhem Raj
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>
2018-05-29turbostat: add the recipe of turbostat to meta-oeHongzhi.Song
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>