diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2012-01-24 03:36:12 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-01-30 14:07:08 -0500 |
| commit | 83b11ea1c6ad113519c488853cf06e626c95a64d (patch) | |
| tree | 79180eb8e7094014dced059873a741698e28090b /include/litmus/trace.h | |
| parent | 5bd89a34d89f252619d83fef3c9325e24311389e (diff) | |
Feather-Trace: keep track of interrupt-related interference.2012.1
Increment a processor-local counter whenever an interrupt is handled.
This allows Feather-Trace to include a (truncated) counter and a flag
to report interference from interrupts. This could be used to filter
samples that were disturbed by interrupts.
Diffstat (limited to 'include/litmus/trace.h')
| -rw-r--r-- | include/litmus/trace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus/trace.h b/include/litmus/trace.h index e2926a08c2f4..e809376d6487 100644 --- a/include/litmus/trace.h +++ b/include/litmus/trace.h | |||
| @@ -20,7 +20,9 @@ struct timestamp { | |||
| 20 | uint32_t seq_no; | 20 | uint32_t seq_no; |
| 21 | uint8_t cpu; | 21 | uint8_t cpu; |
| 22 | uint8_t event; | 22 | uint8_t event; |
| 23 | uint8_t task_type; | 23 | uint8_t task_type:2; |
| 24 | uint8_t irq_flag:1; | ||
| 25 | uint8_t irq_count:5; | ||
| 24 | }; | 26 | }; |
| 25 | 27 | ||
| 26 | /* tracing callbacks */ | 28 | /* tracing callbacks */ |
