X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.h;h=9186d2f2be19a1ac325a8789734db218947a0cae;hp=99990714ac61e80039a80e77ba04953d55c2a495;hb=366a9222abc182bf77de1b806256aa9a9dc8832a;hpb=88076e8986dddbed302570394f9e5589a6b4d923 diff --git a/src/bin/lttng-sessiond/consumer.h b/src/bin/lttng-sessiond/consumer.h index 99990714a..9186d2f2b 100644 --- a/src/bin/lttng-sessiond/consumer.h +++ b/src/bin/lttng-sessiond/consumer.h @@ -163,7 +163,8 @@ struct consumer_output { uint32_t relay_minor_version; /* - * Subdirectory path name used for both local and network consumer. + * Subdirectory path name used for both local and network + * consumer (/kernel or /ust). */ char subdir[PATH_MAX]; @@ -178,9 +179,15 @@ struct consumer_output { unsigned int snapshot:1; union { - char trace_path[PATH_MAX]; + char session_root_path[PATH_MAX]; struct consumer_net net; } dst; + + /* + * Sub-directory below the session_root_path where the next chunk of + * trace will be stored (\0 before the first session rotation). + */ + char chunk_path[PATH_MAX]; }; struct consumer_socket *consumer_find_socket(int key,