X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Ftraceset.h;h=63b1df97522d3d1a5ec5747ec4b2f8e4f03e2260;hb=3685e022fa515d5d17a4b8a81fa596408d0cd4ab;hp=9d62687686e0b19a4cc8691379d24de88ea75722;hpb=7a4bdb546094fea3343bfc80e3744ea26a08dd22;p=lttv.git diff --git a/lttv/lttv/traceset.h b/lttv/lttv/traceset.h index 9d626876..63b1df97 100644 --- a/lttv/lttv/traceset.h +++ b/lttv/lttv/traceset.h @@ -85,18 +85,16 @@ void lttv_traceset_destroy(LttvTraceset *s); void lttv_traceset_add(LttvTraceset *s, LttvTrace *t); /* - * lttv_traceset_add_path : Add all traces recursively to a traceset + * lttv_trace_create : Add all traces recursively to a traceset from a path * * ts is the traceset in which will be contained the traces * - * path is a path to a trace(s). It cannot be NULL and it is not parse - * recursively. - * todo mdenis: implement algorithm to go through all folders recursively to - * find all traces in the path + * trace_path is the path where to find a set of trace. + * Traverse the path recursively to add all traces within. * - * @return 0 on success, -1 on failure + * return 0 on success or a negative integer on failure */ -int lttv_traceset_add_path(LttvTraceset *ts, const char *path); +int lttv_traceset_add_path(LttvTraceset *ts, char *path); unsigned lttv_traceset_number(LttvTraceset *s);