]> sourceware.org Git - systemtap.git/commit
Do the search save_stack_trace_regs() in the stap module's initialization wcohen/backtrace
authorWilliam Cohen <wcohen@redhat.com>
Thu, 7 Mar 2019 14:37:53 +0000 (09:37 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Thu, 7 Mar 2019 14:37:53 +0000 (09:37 -0500)
commitf7fb9c9182dc874e5d1f1b0c4adc7398b763216d
tree988a097a163299b1b505d14921fe8ab692ca561b
parent8c1dde79e6a7166509e1bbaefb4fd0fc03f7f80c
Do the search save_stack_trace_regs() in the stap module's initialization

Previously, the search for save_stack_trace_regs() was done the first
time the _stp_stack_print_fallback was called. However, want to avoid
calling kallsyms_lookup_name() in some arbitrary probe handler as it
may take a signficant amount of time to search for
save_stack_trace_regs().  Moving this search to where other
initialization operations are done and there are fewer contraints on
runninging it.
runtime/stack.c
translate.cxx
This page took 0.02632 seconds and 5 git commands to generate.