diff options
| author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 05:55:49 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 05:55:49 -0400 |
| commit | c897df0e2dbc81bcc09c11425658d69830825364 (patch) | |
| tree | 04c268e4951f2b75acb6873307673e45d05a635e /include/trace | |
| parent | 1e9c4d49020996a645a535cbb8f1ff78b9b120f3 (diff) | |
| parent | 0414855fdc4a40da05221fc6062cccbc0c30f169 (diff) | |
Merge tag 'v3.14-rc5' into patchwork
Linux 3.14-rc5
* tag 'v3.14-rc5': (1117 commits)
Linux 3.14-rc5
drm/vmwgfx: avoid null pointer dereference at failure paths
drm/vmwgfx: Make sure backing mobs are cleared when allocated. Update driver date.
drm/vmwgfx: Remove some unused surface formats
MAINTAINERS: add maintainer entry for Armada DRM driver
arm64: Fix !CONFIG_SMP kernel build
arm64: mm: Add double logical invert to pte accessors
dm cache: fix truncation bug when mapping I/O to >2TB fast device
perf tools: Fix strict alias issue for find_first_bit
powerpc/powernv: Fix indirect XSCOM unmangling
powerpc/powernv: Fix opal_xscom_{read,write} prototype
powerpc/powernv: Refactor PHB diag-data dump
powerpc/powernv: Dump PHB diag-data immediately
powerpc: Increase stack redzone for 64-bit userspace to 512 bytes
powerpc/ftrace: bugfix for test_24bit_addr
powerpc/crashdump : Fix page frame number check in copy_oldmem_page
powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly
kvm, vmx: Really fix lazy FPU on nested guest
perf tools: fix BFD detection on opensuse
drm/radeon: enable speaker allocation setup on dce3.2
...
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/power.h | 7 | ||||
| -rw-r--r-- | include/trace/events/writeback.h | 6 |
2 files changed, 4 insertions, 9 deletions
diff --git a/include/trace/events/power.h b/include/trace/events/power.h index 9e9475c85de5..e5bf9a76f169 100644 --- a/include/trace/events/power.h +++ b/include/trace/events/power.h | |||
| @@ -42,7 +42,6 @@ TRACE_EVENT(pstate_sample, | |||
| 42 | u32 state, | 42 | u32 state, |
| 43 | u64 mperf, | 43 | u64 mperf, |
| 44 | u64 aperf, | 44 | u64 aperf, |
| 45 | u32 energy, | ||
| 46 | u32 freq | 45 | u32 freq |
| 47 | ), | 46 | ), |
| 48 | 47 | ||
| @@ -51,7 +50,6 @@ TRACE_EVENT(pstate_sample, | |||
| 51 | state, | 50 | state, |
| 52 | mperf, | 51 | mperf, |
| 53 | aperf, | 52 | aperf, |
| 54 | energy, | ||
| 55 | freq | 53 | freq |
| 56 | ), | 54 | ), |
| 57 | 55 | ||
| @@ -61,7 +59,6 @@ TRACE_EVENT(pstate_sample, | |||
| 61 | __field(u32, state) | 59 | __field(u32, state) |
| 62 | __field(u64, mperf) | 60 | __field(u64, mperf) |
| 63 | __field(u64, aperf) | 61 | __field(u64, aperf) |
| 64 | __field(u32, energy) | ||
| 65 | __field(u32, freq) | 62 | __field(u32, freq) |
| 66 | 63 | ||
| 67 | ), | 64 | ), |
| @@ -72,17 +69,15 @@ TRACE_EVENT(pstate_sample, | |||
| 72 | __entry->state = state; | 69 | __entry->state = state; |
| 73 | __entry->mperf = mperf; | 70 | __entry->mperf = mperf; |
| 74 | __entry->aperf = aperf; | 71 | __entry->aperf = aperf; |
| 75 | __entry->energy = energy; | ||
| 76 | __entry->freq = freq; | 72 | __entry->freq = freq; |
| 77 | ), | 73 | ), |
| 78 | 74 | ||
| 79 | TP_printk("core_busy=%lu scaled=%lu state=%lu mperf=%llu aperf=%llu energy=%lu freq=%lu ", | 75 | TP_printk("core_busy=%lu scaled=%lu state=%lu mperf=%llu aperf=%llu freq=%lu ", |
| 80 | (unsigned long)__entry->core_busy, | 76 | (unsigned long)__entry->core_busy, |
| 81 | (unsigned long)__entry->scaled_busy, | 77 | (unsigned long)__entry->scaled_busy, |
| 82 | (unsigned long)__entry->state, | 78 | (unsigned long)__entry->state, |
| 83 | (unsigned long long)__entry->mperf, | 79 | (unsigned long long)__entry->mperf, |
| 84 | (unsigned long long)__entry->aperf, | 80 | (unsigned long long)__entry->aperf, |
| 85 | (unsigned long)__entry->energy, | ||
| 86 | (unsigned long)__entry->freq | 81 | (unsigned long)__entry->freq |
| 87 | ) | 82 | ) |
| 88 | 83 | ||
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h index c7bbbe794e65..464ea82e10db 100644 --- a/include/trace/events/writeback.h +++ b/include/trace/events/writeback.h | |||
| @@ -287,11 +287,11 @@ TRACE_EVENT(writeback_queue_io, | |||
| 287 | __field(int, reason) | 287 | __field(int, reason) |
| 288 | ), | 288 | ), |
| 289 | TP_fast_assign( | 289 | TP_fast_assign( |
| 290 | unsigned long older_than_this = work->older_than_this; | 290 | unsigned long *older_than_this = work->older_than_this; |
| 291 | strncpy(__entry->name, dev_name(wb->bdi->dev), 32); | 291 | strncpy(__entry->name, dev_name(wb->bdi->dev), 32); |
| 292 | __entry->older = older_than_this; | 292 | __entry->older = older_than_this ? *older_than_this : 0; |
| 293 | __entry->age = older_than_this ? | 293 | __entry->age = older_than_this ? |
| 294 | (jiffies - older_than_this) * 1000 / HZ : -1; | 294 | (jiffies - *older_than_this) * 1000 / HZ : -1; |
| 295 | __entry->moved = moved; | 295 | __entry->moved = moved; |
| 296 | __entry->reason = work->reason; | 296 | __entry->reason = work->reason; |
| 297 | ), | 297 | ), |
