libsysprof: remove lookaside from public API

This commit is contained in:
Christian Hergert
2019-05-27 22:19:38 -07:00
parent 90c165aa08
commit 57255a1d29
3 changed files with 11 additions and 21 deletions

View File

@ -20,10 +20,6 @@
#pragma once
#if !defined (SYSPROF_INSIDE) && !defined (SYSPROF_COMPILATION)
# error "Only <sysprof.h> can be included directly."
#endif
#include "sysprof-capture-types.h"
G_BEGIN_DECLS
@ -34,19 +30,16 @@ typedef struct
{
SysprofCaptureAddress start;
SysprofCaptureAddress end;
off_t offset;
ino_t inode;
const gchar *filename;
off_t offset;
ino_t inode;
const gchar *filename;
} SysprofMap;
SYSPROF_AVAILABLE_IN_ALL
SysprofMapLookaside *sysprof_map_lookaside_new (void);
void sysprof_map_lookaside_insert (SysprofMapLookaside *self,
const SysprofMap *map);
SYSPROF_AVAILABLE_IN_ALL
const SysprofMap *sysprof_map_lookaside_lookup (SysprofMapLookaside *self,
SysprofCaptureAddress address);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_map_lookaside_free (SysprofMapLookaside *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofMapLookaside, sysprof_map_lookaside_free)