X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=9268a277956aab08ff2d1d04d2e93258c4e3ce5e;hb=65ff8ea370bee80098fe06e4a513d7a4228c63d3;hp=7173fac16348d59cab3f2e220cb927797761fcf3;hpb=aa7ad01746bce973e4855951ab472ac010f19ccc;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index 7173fac16..9268a2779 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -1240,8 +1240,9 @@ void kernel_destroy_channel(struct ltt_kernel_channel *kchan) * * Return LTTNG_OK on success or else return a LTTNG_ERR code. */ -enum lttng_error_code kernel_snapshot_record(struct ltt_kernel_session *ksess, - struct snapshot_output *output, int wait, +enum lttng_error_code kernel_snapshot_record( + struct ltt_kernel_session *ksess, + const struct snapshot_output *output, int wait, uint64_t nb_packets_per_stream) { int err, ret, saved_metadata_fd;