Project

General

Profile

Actions

Bug #655

closed

lttng-tools/src/bin/lttng-sessiond/event.c contains a misleading comment

Added by Daniel U. Thibault about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
Start date:
10/28/2013
Due date:
% Done:

100%

Estimated time:

Description

In lttng-tools/src/bin/lttng-sessiond/event.c (2.3.0 release), lines 246-251, one can read:

/*
 * Enable all kernel tracepoint events of a channel of the kernel session.
 */
int event_kernel_enable_all_syscalls(struct ltt_kernel_channel *kchan,
        int kernel_tracer_fd)
{

This is apparently a cut-and-paste error imported from the preceding function, event_kernel_enable_all_tracepoints. The comment should read instead:

/*
 * Enable kernel syscall tracing events of a channel of the kernel session.
 */
int event_kernel_enable_all_syscalls(struct ltt_kernel_channel *kchan,
        int kernel_tracer_fd)
{

Actions

Also available in: Atom PDF