aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-29 14:45:49 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-01 16:54:35 -0500
commit963fd846e36b48d5338ef2a134d3ee8d208abc07 (patch)
tree6c0c69edcdf3dfe23f4305fb03e6c29788f34168 /litmus
parent7f0bd4c213ff8dca0eb3bdd887f5c62c8d30fab5 (diff)
Feather-Trace: rename locking trace points
Since we don't expect to trace more than one lock type at a time, having protocol-specific trace points is not required.
Diffstat (limited to 'litmus')
-rw-r--r--litmus/locking.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/litmus/locking.c b/litmus/locking.c
index 8ee6a6b68009..728b56835cf7 100644
--- a/litmus/locking.c
+++ b/litmus/locking.c
@@ -69,7 +69,7 @@ asmlinkage long sys_litmus_lock(int lock_od)
69 struct od_table_entry* entry; 69 struct od_table_entry* entry;
70 struct litmus_lock* l; 70 struct litmus_lock* l;
71 71
72 TS_PI_DOWN_START; 72 TS_LOCK_START;
73 73
74 entry = get_entry_for_od(lock_od); 74 entry = get_entry_for_od(lock_od);
75 if (entry && is_lock(entry)) { 75 if (entry && is_lock(entry)) {
@@ -80,7 +80,7 @@ asmlinkage long sys_litmus_lock(int lock_od)
80 80
81 /* Note: task my have been suspended or preempted in between! Take 81 /* Note: task my have been suspended or preempted in between! Take
82 * this into account when computing overheads. */ 82 * this into account when computing overheads. */
83 TS_PI_DOWN_END; 83 TS_UNLOCK_END;
84 84
85 return err; 85 return err;
86} 86}
@@ -91,7 +91,7 @@ asmlinkage long sys_litmus_unlock(int lock_od)
91 struct od_table_entry* entry; 91 struct od_table_entry* entry;
92 struct litmus_lock* l; 92 struct litmus_lock* l;
93 93
94 TS_PI_UP_START; 94 TS_UNLOCK_START;
95 95
96 entry = get_entry_for_od(lock_od); 96 entry = get_entry_for_od(lock_od);
97 if (entry && is_lock(entry)) { 97 if (entry && is_lock(entry)) {
@@ -102,7 +102,7 @@ asmlinkage long sys_litmus_unlock(int lock_od)
102 102
103 /* Note: task my have been preempted in between! Take this into 103 /* Note: task my have been preempted in between! Take this into
104 * account when computing overheads. */ 104 * account when computing overheads. */
105 TS_PI_UP_END; 105 TS_UNLOCK_END;
106 106
107 return err; 107 return err;
108} 108}