mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
libsysprof: use embedded kallsyms when possible
This uses the kallysms that has been embedded in the capture file when that is possible (such as when proc-source appends it).
This commit is contained in:
@ -20,22 +20,18 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sysprof-version-macros.h"
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _SysprofKallsyms SysprofKallsyms;
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofKallsyms *sysprof_kallsyms_new (const gchar *path);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
SysprofKallsyms *sysprof_kallsyms_new_take (gchar *data);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_kallsyms_next (SysprofKallsyms *self,
|
||||
const gchar **name,
|
||||
guint64 *address,
|
||||
guint8 *type);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_kallsyms_free (SysprofKallsyms *self);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofKallsyms, sysprof_kallsyms_free)
|
||||
|
||||
Reference in New Issue
Block a user