aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2014-01-17 15:53:44 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2014-02-19 15:33:41 -0500
commit424bf1e151b1bad49bf25b0ca9a7f860f4c9b6dc (patch)
treeaa4895ad66538206834a2ed6f2c2f82f626c309a
parentee4ef7bc75e7b49e3e8390bd06caff760b67e589 (diff)
Compilation Bug: Fix PGM trace macros.
-rw-r--r--include/trace/events/litmus.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/trace/events/litmus.h b/include/trace/events/litmus.h
index 0822328144bc..02b4b54f718c 100644
--- a/include/trace/events/litmus.h
+++ b/include/trace/events/litmus.h
@@ -39,7 +39,7 @@ TRACE_EVENT(litmus_task_param,
39 __entry->partition = get_partition(t); 39 __entry->partition = get_partition(t);
40 ), 40 ),
41 41
42 TP_printk("period(%d, %Lu).\nwcet(%d, %Lu).\n", 42 TP_printk("period(%u, %Lu).\nwcet(%d, %Lu).\n",
43 __entry->pid, __entry->period, 43 __entry->pid, __entry->period,
44 __entry->pid, __entry->wcet) 44 __entry->pid, __entry->wcet)
45); 45);
@@ -240,12 +240,14 @@ TRACE_EVENT(litmus_pgm_param,
240 240
241 TP_fast_assign( 241 TP_fast_assign(
242 __entry->pid = t ? t->pid : 0; 242 __entry->pid = t ? t->pid : 0;
243 __entry->node_type = t ? t->rt_params.task_params.pgm_type : PGM_NOT_A_NODE; 243 __entry->node_type = t ? t->rt_param.task_params.pgm_type : PGM_NOT_A_NODE;
244 __entry->graph_pid = t ? t->tgid : 0; 244 __entry->graph_pid = t ? t->tgid : 0;
245 ) 245 ),
246 246
247 TP_printk("pgm node (%u, node type = %d) in graph (%u)\n", 247 TP_printk("pgm node (%u, node type = %d) in graph (%u)\n",
248 __entry->pid, __entry->node_type, __entry->graph_pid); 248 __entry->pid, __entry->node_type, __entry->graph_pid)
249);
250
249/* 251/*
250 * Tracing PGM-adjusted job release 252 * Tracing PGM-adjusted job release
251 */ 253 */