From: Julien Desfossez Date: Thu, 23 Aug 2012 00:58:22 +0000 (-0400) Subject: remove old comments from MB X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=19cc9a75b815d2cce16b2d6c0c7ce5990512b18d;p=lttngtop.git remove old comments from MB Signed-off-by: Julien Desfossez --- diff --git a/src/common.c b/src/common.c index 214d105..a09ad2c 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: