aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-14 09:22:03 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-14 09:22:03 -0400
commit4ed39004271280d2b5fc6929b2782c0e330f6895 (patch)
treed0f3bc36dd0598bf6d9d7f7321992111f349bfb3 /include/trace
parentb5d5fad9bed079a4f182e4d282ca29380e8c08f2 (diff)
parent4fec7ad5f637159525265a45f66482cf8817b45f (diff)
Merge branch 'pm-cpufreq'
* pm-cpufreq: (94 commits) intel_pstate: Do not skip samples partially intel_pstate: Remove freq calculation from intel_pstate_calc_busy() intel_pstate: Move intel_pstate_calc_busy() into get_target_pstate_use_performance() intel_pstate: Optimize calculation for max/min_perf_adj intel_pstate: Remove extra conversions in pid calculation cpufreq: Move scheduler-related code to the sched directory Revert "cpufreq: postfix policy directory with the first CPU in related_cpus" cpufreq: Reduce cpufreq_update_util() overhead a bit cpufreq: Select IRQ_WORK if CPU_FREQ_GOV_COMMON is set cpufreq: Remove 'policy->governor_enabled' cpufreq: Rename __cpufreq_governor() to cpufreq_governor() cpufreq: Relocate handle_update() to kill its declaration cpufreq: governor: Drop unnecessary checks from show() and store() cpufreq: governor: Fix race in dbs_update_util_handler() cpufreq: governor: Make gov_set_update_util() static cpufreq: governor: Narrow down the dbs_data_mutex coverage cpufreq: governor: Make dbs_data_mutex static cpufreq: governor: Relocate definitions of tuners structures cpufreq: governor: Move per-CPU data to the common code cpufreq: governor: Make governor private data per-policy ...
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/power.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h
index 284244ebfe8d..19e50300ce7d 100644
--- a/include/trace/events/power.h
+++ b/include/trace/events/power.h
@@ -38,6 +38,28 @@ DEFINE_EVENT(cpu, cpu_idle,
38 TP_ARGS(state, cpu_id) 38 TP_ARGS(state, cpu_id)
39); 39);
40 40
41TRACE_EVENT(powernv_throttle,
42
43 TP_PROTO(int chip_id, const char *reason, int pmax),
44
45 TP_ARGS(chip_id, reason, pmax),
46
47 TP_STRUCT__entry(
48 __field(int, chip_id)
49 __string(reason, reason)
50 __field(int, pmax)
51 ),
52
53 TP_fast_assign(
54 __entry->chip_id = chip_id;
55 __assign_str(reason, reason);
56 __entry->pmax = pmax;
57 ),
58
59 TP_printk("Chip %d Pmax %d %s", __entry->chip_id,
60 __entry->pmax, __get_str(reason))
61);
62
41TRACE_EVENT(pstate_sample, 63TRACE_EVENT(pstate_sample,
42 64
43 TP_PROTO(u32 core_busy, 65 TP_PROTO(u32 core_busy,