summaryrefslogtreecommitdiff
path: root/src/shared-objects.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-12-05 19:43:07 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-12-05 19:43:07 +0000
commit0c523f03ab4967cdc8e0a62f4c337ebaa036b4b3 (patch)
treefb350af2ff7d9ba754454f3b9ad59b05942abb19 /src/shared-objects.h
parent62eebdabc278dfd3440ba6032c10b2c2c1f95081 (diff)
Batch symbol lookups and release parsers.
Diffstat (limited to 'src/shared-objects.h')
-rw-r--r--src/shared-objects.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/shared-objects.h b/src/shared-objects.h
index a63d75a..197b680 100644
--- a/src/shared-objects.h
+++ b/src/shared-objects.h
@@ -26,29 +26,36 @@
G_BEGIN_DECLS
+typedef struct _symbol_offset SymbolOffset;
+
struct _shared_objects {
Client *client;
+
struct {
guint size;
guint nnodes;
SharedObject **nodes;
} ht;
+
+ SharedObject *pending_lookups;
+ SymbolOffset *symbol_offset_free_list;
};
+void
+shared_object_queue_lookup_symbol (SharedObject *so, gulong eip, gulong offset);
+
+void
+shared_objects_lookup_symbols (SharedObjects *objects);
+
+void
+shared_objects_release (SharedObjects *objects);
+
SharedObject *
shared_object_add (SharedObjects *objects, guint key, const char *name);
SharedObject *
shared_object_get (SharedObjects *objects, guint key);
-gboolean
-shared_object_describe_offset (SharedObject *so,
- gulong offset,
- const char **object,
- const char **function,
- const char **path,
- guint *lineno);
-
void
shared_objects_init (SharedObjects *objects, Client *client);