Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
watchdog: Don't throttle the watchdog
tracing: Fix timer tracing

+9 -2
+6 -2
include/trace/events/timer.h
··· 81 TP_STRUCT__entry( 82 __field( void *, timer ) 83 __field( unsigned long, now ) 84 ), 85 86 TP_fast_assign( 87 __entry->timer = timer; 88 __entry->now = jiffies; 89 ), 90 91 - TP_printk("timer=%p now=%lu", __entry->timer, __entry->now) 92 ); 93 94 /** ··· 202 TP_STRUCT__entry( 203 __field( void *, hrtimer ) 204 __field( s64, now ) 205 ), 206 207 TP_fast_assign( 208 __entry->hrtimer = hrtimer; 209 __entry->now = now->tv64; 210 ), 211 212 - TP_printk("hrtimer=%p now=%llu", __entry->hrtimer, 213 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now })) 214 ); 215
··· 81 TP_STRUCT__entry( 82 __field( void *, timer ) 83 __field( unsigned long, now ) 84 + __field( void *, function) 85 ), 86 87 TP_fast_assign( 88 __entry->timer = timer; 89 __entry->now = jiffies; 90 + __entry->function = timer->function; 91 ), 92 93 + TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now) 94 ); 95 96 /** ··· 200 TP_STRUCT__entry( 201 __field( void *, hrtimer ) 202 __field( s64, now ) 203 + __field( void *, function) 204 ), 205 206 TP_fast_assign( 207 __entry->hrtimer = hrtimer; 208 __entry->now = now->tv64; 209 + __entry->function = hrtimer->function; 210 ), 211 212 + TP_printk("hrtimer=%p function=%pf now=%llu", __entry->hrtimer, __entry->function, 213 (unsigned long long)ktime_to_ns((ktime_t) { .tv64 = __entry->now })) 214 ); 215
+3
kernel/watchdog.c
··· 206 struct perf_sample_data *data, 207 struct pt_regs *regs) 208 { 209 if (__get_cpu_var(watchdog_nmi_touch) == true) { 210 __get_cpu_var(watchdog_nmi_touch) = false; 211 return;
··· 206 struct perf_sample_data *data, 207 struct pt_regs *regs) 208 { 209 + /* Ensure the watchdog never gets throttled */ 210 + event->hw.interrupts = 0; 211 + 212 if (__get_cpu_var(watchdog_nmi_touch) == true) { 213 __get_cpu_var(watchdog_nmi_touch) = false; 214 return;