diff options
| author | Carlos Santos <casantos@datacom.com.br> | 2018-12-06 23:20:23 -0200 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2018-12-08 10:44:05 +0100 |
| commit | 60eb2cec80e5258a0c43090f539749606744e182 (patch) | |
| tree | c7701b5fb66d47d137a1a095a3734efff698545e /linux | |
| parent | 8361c53eac06a8a96fd029e31ca7119e218e1e3e (diff) | |
| download | buildroot-60eb2cec80e5258a0c43090f539749606744e182.tar.gz buildroot-60eb2cec80e5258a0c43090f539749606744e182.zip | |
pcm-tools: new package
Processor Counter Monitor (PCM) is an application programming interface
(API) and a set of tools based on the API to monitor performance and
energy metrics of Intel(R) Core(TM), Xeon(R), Atom(TM) and Xeon Phi(TM)
processors.
This package contains a patch on the pmu-query.py script to look for the
pcm-core program at the default path. It's not nice to have a Buildroot
specific patch but let's use one while we look for a solution that is
acceptable upstream.
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Peter: Needs C++, force X86_MSR on in linux]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux')
| -rw-r--r-- | linux/linux.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk index 110260723b..6bf2b88038 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -334,6 +334,8 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config)) $(if $(BR2_PACKAGE_LINUX_TOOLS_PERF), $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)) + $(if $(BR2_PACKAGE_PCM_TOOLS), + $(call KCONFIG_ENABLE_OPT,CONFIG_X86_MSR,$(@D)/.config)) $(if $(BR2_PACKAGE_SYSTEMD), $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config) |

