From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> The comment describing tracecmd_unpair_peer() is the same as the comment for tracecmd_pair_peer(). Update it to describe the unpair function. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- lib/trace-cmd/trace-input.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c index c19aa4005767..50d52f49a8f0 100644 --- a/lib/trace-cmd/trace-input.c +++ b/lib/trace-cmd/trace-input.c @@ -3233,9 +3233,8 @@ fail: } /** - * tracecmd_unpair_peer - Link a tracing peer to this handle + * tracecmd_unpair_peer - Remove the linked tracing peer of this handle * @handle: input handle for the trace.dat file - * @peer: input handle for the tracing peer * * When tracing host and one or more guest machines at the same time, * guest and host are tracing peers. There is information in both trace @@ -3244,7 +3243,7 @@ fail: * merging the events. When the host is set as a tracing peer to the guest, then * the timestamps of guest's events are recalculated to match the host event's time * - * Returns 1, if a peer is already paired, -1 in case of an error or 0 otherwise + * This removes any peer that is linked to the @handle. */ int tracecmd_unpair_peer(struct tracecmd_input *handle) { -- 2.25.1