diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-01-19 19:38:14 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:25:02 -0400 |
commit | d1a840d7194fdd09c1bd9977e30fd391ef2a7526 (patch) | |
tree | ed77a18c98a2581ee7d7ed45a9b4305c7a3c7119 /include/litmus/trace.h | |
parent | 07ae7efcb81f95eb8e870cad21c7ba72573af7e8 (diff) |
[ported from 2008.3] Add Feather-Trace x86_32 architecture dependent code
- [ported from 2008.3] Add x86_32 architecture dependent code.
- Add the infrastructure for x86_32 - x86_64 integration.
Diffstat (limited to 'include/litmus/trace.h')
-rw-r--r-- | include/litmus/trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index e8e0c7b6cc6a..b32c71180774 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
@@ -32,13 +32,13 @@ feather_callback void save_timestamp_cpu(unsigned long event, unsigned long cpu) | |||
32 | 32 | ||
33 | #define TIMESTAMP(id) ft_event0(id, save_timestamp) | 33 | #define TIMESTAMP(id) ft_event0(id, save_timestamp) |
34 | 34 | ||
35 | #define DTIMESTAMP(id, def) ft_event1(id, save_timestamp_def, def) | 35 | #define DTIMESTAMP(id, def) ft_event1(id, save_timestamp_def, (unsigned long) def) |
36 | 36 | ||
37 | #define TTIMESTAMP(id, task) \ | 37 | #define TTIMESTAMP(id, task) \ |
38 | ft_event1(id, save_timestamp_task, (unsigned long) task) | 38 | ft_event1(id, save_timestamp_task, (unsigned long) task) |
39 | 39 | ||
40 | #define CTIMESTAMP(id, cpu) \ | 40 | #define CTIMESTAMP(id, cpu) \ |
41 | ft_event1(id, save_timestamp_cpu, cpu) | 41 | ft_event1(id, save_timestamp_cpu, (unsigned long) cpu) |
42 | 42 | ||
43 | #else /* !CONFIG_SCHED_OVERHEAD_TRACE */ | 43 | #else /* !CONFIG_SCHED_OVERHEAD_TRACE */ |
44 | 44 | ||