From: Julien Desfossez Date: Thu, 23 Aug 2012 00:58:22 +0000 (-0400) Subject: remove old comments from MB X-Git-Tag: v0.3~98 X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=commitdiff_plain;h=ce27cc5f2a632e4659c78676a0612322395a8390;hp=b7194a4ebee2f959e0d2c02f78c3fbb81711ffd6 remove old comments from MB Signed-off-by: Julien Desfossez --- 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: