diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-18 19:17:50 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-18 19:17:50 -0400 |
| commit | 8ced6789da03649d21656dd908c2930a003fffc4 (patch) | |
| tree | 63789eea39d470d969bfb78a470b703827850338 /include/trace | |
| parent | 4a3004e5e651baf15f0452da9200dd5c3bda5907 (diff) | |
| parent | 07949bf9c63c9a80027fe8452d5fe8b9ba9b3c23 (diff) | |
Merge branch 'pm-cpufreq'
* pm-cpufreq: (37 commits)
cpufreq: dt: allow driver to boot automatically
intel_pstate: Fix overflow in busy_scaled due to long delay
cpufreq: qoriq: optimize the CPU frequency switching time
cpufreq: gx-suspmod: Fix two typos in two comments
cpufreq: nforce2: Fix typo in comment to function nforce2_init()
cpufreq: governor: Serialize governor callbacks
cpufreq: governor: split cpufreq_governor_dbs()
cpufreq: governor: register notifier from cs_init()
cpufreq: Remove cpufreq_update_policy()
cpufreq: Restart governor as soon as possible
cpufreq: Call cpufreq_policy_put_kobj() from cpufreq_policy_free()
cpufreq: Initialize policy->kobj while allocating policy
cpufreq: Stop migrating sysfs files on hotplug
cpufreq: Don't allow updating inactive policies from sysfs
intel_pstate: Force setting target pstate when required
intel_pstate: change some inconsistent debug information
cpufreq: Track cpu managing sysfs kobjects separately
cpufreq: Fix for typos in two comments
cpufreq: Mark policy->governor = NULL for inactive policies
cpufreq: Manage governor usage history with 'policy->last_governor'
...
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/power.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h index d19840b0cac8..630d1e5e4de0 100644 --- a/include/trace/events/power.h +++ b/include/trace/events/power.h | |||
| @@ -42,45 +42,54 @@ TRACE_EVENT(pstate_sample, | |||
| 42 | 42 | ||
| 43 | TP_PROTO(u32 core_busy, | 43 | TP_PROTO(u32 core_busy, |
| 44 | u32 scaled_busy, | 44 | u32 scaled_busy, |
| 45 | u32 state, | 45 | u32 from, |
| 46 | u32 to, | ||
| 46 | u64 mperf, | 47 | u64 mperf, |
| 47 | u64 aperf, | 48 | u64 aperf, |
| 49 | u64 tsc, | ||
| 48 | u32 freq | 50 | u32 freq |
| 49 | ), | 51 | ), |
| 50 | 52 | ||
| 51 | TP_ARGS(core_busy, | 53 | TP_ARGS(core_busy, |
| 52 | scaled_busy, | 54 | scaled_busy, |
| 53 | state, | 55 | from, |
| 56 | to, | ||
| 54 | mperf, | 57 | mperf, |
| 55 | aperf, | 58 | aperf, |
| 59 | tsc, | ||
| 56 | freq | 60 | freq |
| 57 | ), | 61 | ), |
| 58 | 62 | ||
| 59 | TP_STRUCT__entry( | 63 | TP_STRUCT__entry( |
| 60 | __field(u32, core_busy) | 64 | __field(u32, core_busy) |
| 61 | __field(u32, scaled_busy) | 65 | __field(u32, scaled_busy) |
| 62 | __field(u32, state) | 66 | __field(u32, from) |
| 67 | __field(u32, to) | ||
| 63 | __field(u64, mperf) | 68 | __field(u64, mperf) |
| 64 | __field(u64, aperf) | 69 | __field(u64, aperf) |
| 70 | __field(u64, tsc) | ||
| 65 | __field(u32, freq) | 71 | __field(u32, freq) |
| 66 | 72 | ), | |
| 67 | ), | ||
| 68 | 73 | ||
| 69 | TP_fast_assign( | 74 | TP_fast_assign( |
| 70 | __entry->core_busy = core_busy; | 75 | __entry->core_busy = core_busy; |
| 71 | __entry->scaled_busy = scaled_busy; | 76 | __entry->scaled_busy = scaled_busy; |
| 72 | __entry->state = state; | 77 | __entry->from = from; |
| 78 | __entry->to = to; | ||
| 73 | __entry->mperf = mperf; | 79 | __entry->mperf = mperf; |
| 74 | __entry->aperf = aperf; | 80 | __entry->aperf = aperf; |
| 81 | __entry->tsc = tsc; | ||
| 75 | __entry->freq = freq; | 82 | __entry->freq = freq; |
| 76 | ), | 83 | ), |
| 77 | 84 | ||
| 78 | TP_printk("core_busy=%lu scaled=%lu state=%lu mperf=%llu aperf=%llu freq=%lu ", | 85 | TP_printk("core_busy=%lu scaled=%lu from=%lu to=%lu mperf=%llu aperf=%llu tsc=%llu freq=%lu ", |
| 79 | (unsigned long)__entry->core_busy, | 86 | (unsigned long)__entry->core_busy, |
| 80 | (unsigned long)__entry->scaled_busy, | 87 | (unsigned long)__entry->scaled_busy, |
| 81 | (unsigned long)__entry->state, | 88 | (unsigned long)__entry->from, |
| 89 | (unsigned long)__entry->to, | ||
| 82 | (unsigned long long)__entry->mperf, | 90 | (unsigned long long)__entry->mperf, |
| 83 | (unsigned long long)__entry->aperf, | 91 | (unsigned long long)__entry->aperf, |
| 92 | (unsigned long long)__entry->tsc, | ||
| 84 | (unsigned long)__entry->freq | 93 | (unsigned long)__entry->freq |
| 85 | ) | 94 | ) |
| 86 | 95 | ||
