From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 3E45E7DE7F for ; Mon, 16 Jul 2018 11:23:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729474AbeGPLuc (ORCPT ); Mon, 16 Jul 2018 07:50:32 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:60157 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbeGPLuc (ORCPT ); Mon, 16 Jul 2018 07:50:32 -0400 Received: from faui49t (faui49t.informatik.uni-erlangen.de [131.188.42.17]) by faui40.informatik.uni-erlangen.de (Postfix) with SMTP id D9BDB58C4F6; Mon, 16 Jul 2018 13:23:29 +0200 (CEST) Received: by faui49t (sSMTP sendmail emulation); Mon, 16 Jul 2018 13:23:29 +0200 From: Andreas Ziegler To: Jonathan Corbet Cc: Changbin Du , Steven Rostedt , Tom Zanussi , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Ziegler Subject: [PATCH 2/2] Documentation: kprobetrace: document 'trigger' file Date: Mon, 16 Jul 2018 13:05:58 +0200 Message-Id: <1531739158-31133-3-git-send-email-andreas.ziegler@fau.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531739158-31133-1-git-send-email-andreas.ziegler@fau.de> References: <1531739158-31133-1-git-send-email-andreas.ziegler@fau.de> Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org As the other files are documented explicitly, let's add a short description for 'trigger' as well. Signed-off-by: Andreas Ziegler --- Documentation/trace/kprobetrace.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst index c4aaef7d..8bfc75c 100644 --- a/Documentation/trace/kprobetrace.rst +++ b/Documentation/trace/kprobetrace.rst @@ -81,7 +81,7 @@ Per-probe event filtering feature allows you to set different filter on each probe and gives you what arguments will be shown in trace buffer. If an event name is specified right after 'p:' or 'r:' in kprobe_events, it adds an event under tracing/events/kprobes/, at the directory you can see 'id', -'enable', 'format' and 'filter'. +'enable', 'format', 'filter' and 'trigger'. enable: You can enable/disable the probe by writing 1 or 0 on it. @@ -95,6 +95,9 @@ filter: id: This shows the id of this probe event. +trigger: + This allows to install trigger commands which are executed when the event is + hit (for details, see Documentation/trace/events.rst, section 6). Event Profiling --------------- -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html