diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/sym.c | 4 | ||||
-rw-r--r-- | runtime/sym.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index 35fb3cb0..30b6fc5a 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -31,8 +31,8 @@ static void _stp_sym_init(void) } } -/* Callback that needs to be registered (in tapsets.cxx for - emit_module_init) for every user task path or pid for which we +/* Callback that needs to be registered (in + session.unwindsyms_modules) for every user task path for which we might need symbols or unwind info. */ static int _stp_tf_mmap_cb(struct stap_task_finder_target *tgt, struct task_struct *tsk, diff --git a/runtime/sym.h b/runtime/sym.h index ca69345f..262b1776 100644 --- a/runtime/sym.h +++ b/runtime/sym.h @@ -30,6 +30,8 @@ struct _stp_module { struct _stp_section *sections; unsigned num_sections; + struct stap_task_finder_target *vmcb; /* PR10228 */ + /* A pointer to the struct module. Note that we cannot */ /* trust this because as of 2.6.19, there are not yet */ /* any notifier hooks that will tell us when a module */ |