Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140889
b: refs/heads/master
c: c3ffc7a
h: refs/heads/master
i:
  140887: 414d538
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Ingo Molnar committed Mar 9, 2009
1 parent 52e447d commit 33ec0e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 888b55dc314d26239d84c3b187dae555a81c1605
refs/heads/master: c3ffc7a40b7e94b094efe1c8ab4e24370a782b65
5 changes: 2 additions & 3 deletions trunk/kernel/trace/trace_workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ static void probe_workqueue_creation(struct task_struct *wq_thread, int cpu)
pr_warning("trace_workqueue: not enough memory\n");
return;
}
tracing_record_cmdline(wq_thread);

INIT_LIST_HEAD(&cws->list);
cws->cpu = cpu;

Expand Down Expand Up @@ -195,11 +193,12 @@ static int workqueue_stat_show(struct seq_file *s, void *p)
struct cpu_workqueue_stats *cws = p;
unsigned long flags;
int cpu = cws->cpu;
struct task_struct *tsk = find_task_by_vpid(cws->pid);

seq_printf(s, "%3d %6d %6u %s\n", cws->cpu,
atomic_read(&cws->inserted),
cws->executed,
trace_find_cmdline(cws->pid));
tsk ? tsk->comm : "<...>");

spin_lock_irqsave(&workqueue_cpu_stat(cpu)->lock, flags);
if (&cws->list == workqueue_cpu_stat(cpu)->list.next)
Expand Down

0 comments on commit 33ec0e3

Please sign in to comment.