[PATCH 3/8] perf/x86/cstate: Use new probe function

2019-06-16 Thread Jiri Olsa
Using perf_msr_probe function to probe for cstate events. The functionality is the same, with one exception, that perf_msr_probe checks for rdmsr to return value != 0 for given MSR register. Using the new attribute groups and adding the events via pmu::attr_update. Signed-off-by: Jiri Olsa ---

[PATCH 3/8] perf/x86/cstate: Use new probe function

2019-05-31 Thread Jiri Olsa
Using perf_msr_probe function to probe for cstate events. The functionality is the same, with one exception, that perf_msr_probe checks for rdmsr to return value != 0 for given MSR register. Using the new attribute groups and adding the events via pmu::attr_update. Signed-off-by: Jiri Olsa ---

[PATCH 3/8] perf/x86/cstate: Use new probe function

2019-05-27 Thread Jiri Olsa
Using perf_msr_probe function to probe for cstate events. The functionality is the same, with one exception, that perf_msr_probe checks for rdmsr to return value != 0 for given MSR register. Using the new attribute groups and adding the events via pmu::attr_update. Signed-off-by: Jiri Olsa ---

[PATCH 3/8] perf/x86/cstate: Use new probe function

2019-03-18 Thread Jiri Olsa
Using perf_msr_probe function to add msr events. The functionality is the same, with one exception, that perf_msr_probe checks for rdmsr to return value != 0 for given MSR register. Signed-off-by: Jiri Olsa --- arch/x86/events/intel/cstate.c | 92 +- 1 file chang