From ce27cc5f2a632e4659c78676a0612322395a8390 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Wed, 22 Aug 2012 20:58:22 -0400 Subject: [PATCH] remove old comments from MB Signed-off-by: Julien Desfossez --- src/common.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/common.c b/src/common.c index 2c9c1fe..f4974e7 100644 --- a/src/common.c +++ b/src/common.c @@ -569,13 +569,6 @@ enum bt_cb_ret handle_statedump_process_state(struct bt_ctf_event *call_data, goto error; } - /* - * FIXME - * I first tried with bt_ctf_get_string but doesn`t work at all - * It couldn`t find the field _name because it is an integer in - * the metadata and not a string like _filename for the - * statedump_file_descriptor - */ scope = bt_ctf_get_top_level_scope(call_data, BT_EVENT_FIELDS); procname = bt_ctf_get_char_array(bt_ctf_get_field(call_data, @@ -594,14 +587,6 @@ enum bt_cb_ret handle_statedump_process_state(struct bt_ctf_event *call_data, proc->comm = strdup(procname); proc->pid = pid; - /* - * FIXME - * I would like to free procname because it is duplicated - * when the process is created but it segfaults... - * - * free(procname); - */ - return BT_CB_OK; error: -- 2.34.1