From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760899AbbBIP5d (ORCPT ); Mon, 9 Feb 2015 10:57:33 -0500 Received: from tex.lwn.net ([70.33.254.29]:43339 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759515AbbBIP5c (ORCPT ); Mon, 9 Feb 2015 10:57:32 -0500 Date: Mon, 9 Feb 2015 10:57:29 -0500 From: Jonathan Corbet To: Wang Long Cc: , , , , Subject: Re: [PATCH] Documentation: Fix the wrong command `echo -1 > set_ftrace_pid` for cleaning the filter. Message-ID: <20150209105729.0410df4a@lwn.net> In-Reply-To: <1423113374-233765-1-git-send-email-long.wanglong@huawei.com> References: <1423113374-233765-1-git-send-email-long.wanglong@huawei.com> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 5 Feb 2015 05:16:14 +0000 Wang Long wrote: > The command `echo > set_ftrace_pid` should be used to clean the filter quietly. > because the command `echo -1 > set_ftrace_pid` will output the following: > "bash: echo: write error: Invalid argument". > > so update the file Documentation/trace/ftrace.txt. So this is in my pile for the docs tree, but I was hoping to see an ack from Steve first...? Thanks, jon