mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyzer: include kallsym symbolizer in default
Generally we're capturing Linux systems, and even if not, the capture may contain embedded Linux symbols if on a secondary system.
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
#include "sysprof-bundled-symbolizer.h"
|
||||
#include "sysprof-document-loader.h"
|
||||
#include "sysprof-document-private.h"
|
||||
#include "sysprof-kallsyms-symbolizer.h"
|
||||
#include "sysprof-multi-symbolizer.h"
|
||||
|
||||
struct _SysprofDocumentLoader
|
||||
@ -146,6 +147,7 @@ set_default_symbolizer (SysprofDocumentLoader *self)
|
||||
|
||||
multi = sysprof_multi_symbolizer_new ();
|
||||
sysprof_multi_symbolizer_take (multi, sysprof_bundled_symbolizer_new ());
|
||||
sysprof_multi_symbolizer_take (multi, sysprof_kallsyms_symbolizer_new ());
|
||||
self->symbolizer = SYSPROF_SYMBOLIZER (g_steal_pointer (&multi));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user