Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100496
b: refs/heads/master
c: 4fe8c30
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent 4e24099 commit b62660f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 26 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f96da02c14d722ad9a3713cd7273ce28c9036ad
refs/heads/master: 4fe8c3048cd8280a54256bca9cac2007bd546c33
26 changes: 14 additions & 12 deletions trunk/kernel/trace/trace_irqsoff.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,20 @@ check_critical_timing(struct trace_array *tr,

update_max_tr_single(tr, current, cpu);

if (tracing_thresh) {
printk(KERN_INFO "(%16s-%-5d|#%d):"
" %lu us critical section violates %lu us threshold.\n",
current->comm, current->pid,
raw_smp_processor_id(),
latency, nsecs_to_usecs(tracing_thresh));
} else {
printk(KERN_INFO "(%16s-%-5d|#%d):"
" new %lu us maximum-latency critical section.\n",
current->comm, current->pid,
raw_smp_processor_id(),
latency);
if (!runqueue_is_locked()) {
if (tracing_thresh) {
printk(KERN_INFO "(%16s-%-5d|#%d): %lu us critical"
" section violates %lu us threshold.\n",
current->comm, current->pid,
raw_smp_processor_id(),
latency, nsecs_to_usecs(tracing_thresh));
} else {
printk(KERN_INFO "(%16s-%-5d|#%d): new %lu us"
" maximum-latency critical section.\n",
current->comm, current->pid,
raw_smp_processor_id(),
latency);
}
}

max_sequence++;
Expand Down
13 changes: 0 additions & 13 deletions trunk/kernel/trace/trace_sched_wakeup.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,6 @@ wakeup_sched_switch(struct task_struct *prev, struct task_struct *next)

update_max_tr(tr, wakeup_task, wakeup_cpu);

if (tracing_thresh) {
printk(KERN_INFO "(%16s-%-5d|#%d):"
" %lu us wakeup latency violates %lu us threshold.\n",
wakeup_task->comm, wakeup_task->pid,
raw_smp_processor_id(),
latency, nsecs_to_usecs(tracing_thresh));
} else {
printk(KERN_INFO "(%16s-%-5d|#%d):"
" new %lu us maximum wakeup latency.\n",
wakeup_task->comm, wakeup_task->pid,
cpu, latency);
}

out_unlock:
__wakeup_reset(tr);
spin_unlock_irqrestore(&wakeup_lock, flags);
Expand Down

0 comments on commit b62660f

Please sign in to comment.