diff options
| author | Arjan van de Ven <arjan@linux.intel.com> | 2008-01-25 15:08:34 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 15:08:34 -0500 |
| commit | 9745512ce79de686df354dc70a8d1a74d801892d (patch) | |
| tree | 9b64e2b2e6d2ae534beef136922082f21701c7b9 /include/linux/stacktrace.h | |
| parent | 326587b840785c60f5dc18557235a23bafefd620 (diff) | |
sched: latencytop support
LatencyTOP kernel infrastructure; it measures latencies in the
scheduler and tracks it system wide and per process.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/stacktrace.h')
| -rw-r--r-- | include/linux/stacktrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/stacktrace.h b/include/linux/stacktrace.h index e7fa657d0c..5da9794b2d 100644 --- a/include/linux/stacktrace.h +++ b/include/linux/stacktrace.h | |||
| @@ -9,10 +9,13 @@ struct stack_trace { | |||
| 9 | }; | 9 | }; |
| 10 | 10 | ||
| 11 | extern void save_stack_trace(struct stack_trace *trace); | 11 | extern void save_stack_trace(struct stack_trace *trace); |
| 12 | extern void save_stack_trace_tsk(struct task_struct *tsk, | ||
| 13 | struct stack_trace *trace); | ||
| 12 | 14 | ||
| 13 | extern void print_stack_trace(struct stack_trace *trace, int spaces); | 15 | extern void print_stack_trace(struct stack_trace *trace, int spaces); |
| 14 | #else | 16 | #else |
| 15 | # define save_stack_trace(trace) do { } while (0) | 17 | # define save_stack_trace(trace) do { } while (0) |
| 18 | # define save_stack_trace_tsk(tsk, trace) do { } while (0) | ||
| 16 | # define print_stack_trace(trace, spaces) do { } while (0) | 19 | # define print_stack_trace(trace, spaces) do { } while (0) |
| 17 | #endif | 20 | #endif |
| 18 | 21 | ||
