diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2009-09-07 23:33:48 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2009-09-08 03:03:14 -0400 |
commit | b8364e28476e7c55f032b71b943ac2049e1ed36b (patch) | |
tree | 6c63aa364160038e903f81d79a701ca39cfcc9f2 /tracker.c | |
parent | 8dd28de7107d536d8430c789d1d465066ddb6774 (diff) |
Don't compile process.[ch] anymore
Diffstat (limited to 'tracker.c')
-rw-r--r-- | tracker.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -91,6 +91,7 @@ fake_new_process (tracker_t *tracker, pid_t pid) { tracker_add_process ( tracker, pid, g_strstrip (strchr (lines[i], ':') + 1)); + break; } } @@ -314,7 +315,6 @@ struct process_t pid_t pid; char * comm; - char * undefined; GPtrArray * maps; }; @@ -389,7 +389,6 @@ destroy_process (process_t *process) int i; g_free (process->comm); - g_free (process->undefined); for (i = 0; i < process->maps->len; ++i) { @@ -409,7 +408,6 @@ create_process (state_t *state, new_process_t *new_process) process->pid = new_process->pid; process->comm = g_strdup (new_process->command_line); - process->undefined = NULL; process->maps = g_ptr_array_new (); g_hash_table_insert ( @@ -441,13 +439,12 @@ state_new (void) typedef struct { - gulong address; + gulong address; char *name; } kernel_symbol_t; static void -parse_kallsym_line (const char *line, - GArray *table) +parse_kallsym_line (const char *line, GArray *table) { char **tokens = g_strsplit_set (line, " \t", -1); |