mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Add commented out code to reject callback.
2008-02-17 Soren Sandmann <sandmann@redhat.com> * collector.c (lookup_symbol): Add commented out code to reject callback. * elfparser.c (struct ElfParser): Store the filename if any (elf_parser_get_sym_address): Subtract the load address, so the result will be an offset into the text section. * process.[ch] (process_lookup_symbol): Add an offset out-argument * binfile.[ch] (bin_symbol_get_address): New function * TODO: updates svn path=/trunk/; revision=397
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
9d2f7a1a9d
commit
b98db05f9b
@ -52,7 +52,8 @@ void process_ensure_map (Process *process,
|
||||
int pid,
|
||||
gulong address);
|
||||
const char * process_lookup_symbol (Process *process,
|
||||
gulong address);
|
||||
gulong address,
|
||||
gulong *offset);
|
||||
const char * process_get_cmdline (Process *process);
|
||||
void process_flush_caches (void);
|
||||
const guint8 *process_get_vdso_bytes (gsize *length);
|
||||
|
||||
Reference in New Issue
Block a user