X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftrace-chunk.c;h=fb4d1672490d49b889e98646ecee7bc6bcea788a;hp=29977cabb1ae48e7ab015e717dc38173fcfd93d8;hb=606846ba9588920704ccaa53d1127ecc1dcdaa80;hpb=6def6cd7c0d7fc16c679898ccf170d8a45d68ab4 diff --git a/src/common/trace-chunk.c b/src/common/trace-chunk.c index 29977cabb..fb4d16724 100644 --- a/src/common/trace-chunk.c +++ b/src/common/trace-chunk.c @@ -104,11 +104,13 @@ struct lttng_trace_chunk_registry { struct cds_lfht *ht; }; -const char *close_command_names[] = { +static const +char *close_command_names[] = { [LTTNG_TRACE_CHUNK_COMMAND_TYPE_MOVE_TO_COMPLETED] = "move to completed chunk folder", }; +static const chunk_close_command close_command_funcs[] = { [LTTNG_TRACE_CHUNK_COMMAND_TYPE_MOVE_TO_COMPLETED] = lttng_trace_chunk_move_to_completed,