aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus_softirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/litmus_softirq.c')
-rw-r--r--litmus/litmus_softirq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/litmus/litmus_softirq.c b/litmus/litmus_softirq.c
index f5cca964b6c6..c49676c6d3a7 100644
--- a/litmus/litmus_softirq.c
+++ b/litmus/litmus_softirq.c
@@ -470,6 +470,9 @@ static void do_lit_tasklet(struct klitirqd_info* which,
470 /* execute tasklet if it has my priority and is free */ 470 /* execute tasklet if it has my priority and is free */
471 if ((t->owner == which->current_owner) && tasklet_trylock(t)) { 471 if ((t->owner == which->current_owner) && tasklet_trylock(t)) {
472 if (!atomic_read(&t->count)) { 472 if (!atomic_read(&t->count)) {
473
474 sched_trace_tasklet_begin(t->owner);
475
473 if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state)) 476 if (!test_and_clear_bit(TASKLET_STATE_SCHED, &t->state))
474 { 477 {
475 BUG(); 478 BUG();
@@ -480,6 +483,8 @@ static void do_lit_tasklet(struct klitirqd_info* which,
480 483
481 atomic_dec(count); 484 atomic_dec(count);
482 485
486 sched_trace_tasklet_end(t->owner, 0ul);
487
483 continue; /* process more tasklets */ 488 continue; /* process more tasklets */
484 } 489 }
485 tasklet_unlock(t); 490 tasklet_unlock(t);