mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: use separate cache for kernel symbols
Additionally this reduces some GHashTable lookup costs by doing it once for the process-info per-traceable rather than one per instruction pointer per traceable.
This commit is contained in:
@ -31,18 +31,18 @@ G_BEGIN_DECLS
|
||||
|
||||
G_DECLARE_FINAL_TYPE (SysprofDocumentSymbols, sysprof_document_symbols, SYSPROF, DOCUMENT_SYMBOLS, GObject)
|
||||
|
||||
void _sysprof_document_symbols_new (SysprofDocument *document,
|
||||
SysprofStrings *strings,
|
||||
SysprofSymbolizer *symbolizer,
|
||||
GHashTable *pid_to_process_info,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
SysprofDocumentSymbols *_sysprof_document_symbols_new_finish (GAsyncResult *result,
|
||||
GError **error);
|
||||
SysprofSymbol *_sysprof_document_symbols_lookup (SysprofDocumentSymbols *symbols,
|
||||
int pid,
|
||||
SysprofAddressContext context,
|
||||
SysprofAddress address);
|
||||
void _sysprof_document_symbols_new (SysprofDocument *document,
|
||||
SysprofStrings *strings,
|
||||
SysprofSymbolizer *symbolizer,
|
||||
GHashTable *pid_to_process_info,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
SysprofDocumentSymbols *_sysprof_document_symbols_new_finish (GAsyncResult *result,
|
||||
GError **error);
|
||||
SysprofSymbol *_sysprof_document_symbols_lookup (SysprofDocumentSymbols *symbols,
|
||||
const SysprofProcessInfo *process_info,
|
||||
SysprofAddressContext context,
|
||||
SysprofAddress address);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user