diff options
author | Josh Stone <jistone@redhat.com> | 2010-03-18 18:59:57 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-18 18:59:57 -0700 |
commit | 4434d3386943bf32dc7873eafb7c7e6239a3c2a3 (patch) | |
tree | e8a7cf53c92d5f41efbb3d474e066dff61fb05e7 /runtime/stack.c | |
parent | 06d2888cc8c1eaea2cc17683975ed7d76797cd1e (diff) | |
download | systemtap-steved-4434d3386943bf32dc7873eafb7c7e6239a3c2a3.tar.gz systemtap-steved-4434d3386943bf32dc7873eafb7c7e6239a3c2a3.tar.xz systemtap-steved-4434d3386943bf32dc7873eafb7c7e6239a3c2a3.zip |
Sprinkle static to prevent unnecessary inclusion
* runtime/stack.c (_stp_stack_print_tsk): Static.
(_stp_stack_snprint_tsk): Static.
* runtime/task_finder.c (__stp_utrace_task_finder_ops): Static.
Diffstat (limited to 'runtime/stack.c')
-rw-r--r-- | runtime/stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/stack.c b/runtime/stack.c index 118a44b7..53b0a718 100644 --- a/runtime/stack.c +++ b/runtime/stack.c @@ -186,7 +186,7 @@ static void _stp_stack_snprint(char *str, int size, struct pt_regs *regs, int ve #endif /* CONFIG_KPROBES */ -void _stp_stack_print_tsk(struct task_struct *tsk, int verbose, int levels) +static void _stp_stack_print_tsk(struct task_struct *tsk, int verbose, int levels) { #if defined(STAPCONF_KERNEL_STACKTRACE) int i; @@ -213,7 +213,7 @@ void _stp_stack_print_tsk(struct task_struct *tsk, int verbose, int levels) * @param tsk A pointer to the task_struct * @returns void */ -void _stp_stack_snprint_tsk(char *str, int size, struct task_struct *tsk, int verbose, int levels) +static void _stp_stack_snprint_tsk(char *str, int size, struct task_struct *tsk, int verbose, int levels) { _stp_pbuf *pb = per_cpu_ptr(Stp_pbuf, smp_processor_id()); _stp_print_flush(); |