summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authorSoren Sandmann <sandmann@redhat.com>2005-10-30 20:14:31 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-10-30 20:14:31 +0000
commitdff4affaab5c59a642d49a8a4646008e14c419f0 (patch)
treebfd85b1bd30b02514e238f1abb09d4362c844b3b /profile.h
parent3783be00a874998651325a14ef68bacba4e295e0 (diff)
Merge stackstash-reorg branch into HEAD
2005-10-30 Soren Sandmann <sandmann@redhat.com> * Merge stackstash-reorg branch into HEAD
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/profile.h b/profile.h
index edc1c45..7f6cd3c 100644
--- a/profile.h
+++ b/profile.h
@@ -17,9 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifndef PROFILE_H
+#define PROFILE_H
+
#include <glib.h>
-#include "binfile.h"
-#include "process.h"
#include "stackstash.h"
typedef struct Profile Profile;
@@ -37,7 +38,7 @@ struct ProfileObject
struct ProfileDescendant
{
- ProfileObject * object;
+ char * name;
guint self;
guint total;
guint non_recursion;
@@ -51,7 +52,7 @@ struct ProfileDescendant
struct ProfileCaller
{
- ProfileObject * object; /* can be NULL */
+ char * name;
guint total;
guint self;
@@ -63,9 +64,9 @@ void profile_free (Profile *profile);
gint profile_get_size (Profile *profile);
GList * profile_get_objects (Profile *profile);
ProfileDescendant *profile_create_descendants (Profile *prf,
- ProfileObject *object);
+ char *object);
ProfileCaller * profile_list_callers (Profile *profile,
- ProfileObject *callee);
+ char *object);
void profile_caller_free (ProfileCaller *caller);
void profile_descendant_free (ProfileDescendant *descendant);
@@ -74,3 +75,5 @@ gboolean profile_save (Profile *profile,
GError **err);
Profile * profile_load (const char *filename,
GError **err);
+
+#endif /* PROFILE_H */