Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2214304imm; Mon, 16 Jul 2018 04:24:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdLTaXZOwfW2NB0a6jMmBGnDNWILGCYWFIITFpxr9ZbzlX6LDMtsPHBl5opx1R+dSHPJ56b X-Received: by 2002:aa7:83cd:: with SMTP id j13-v6mr17833230pfn.236.1531740272488; Mon, 16 Jul 2018 04:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531740272; cv=none; d=google.com; s=arc-20160816; b=utRUEM2q3OfT88w8efmowU7IQ4EHqmAwjHrITVOtvYeaRMq9waF5zDQhyZE2Q7UKfF IyCk6t1DCK7oPCVcYritycfSekmeqWwXlC4Z+EPt5mPg7YnWjeg+YeIO7cxeixhw08Zi 7nsiHGXTjXOnqZaO8nutoNDUgihZWSrpDIKqrlqBIhcLUhVZFNYZy857HqcUZWbYwcYG PXykE8V7cdylihy7L6HfmURsZyb/qsPP9WgaxJB6smgBZOg3RiUqWGl9rfbc6q7mxMDW k7OYQFqimxBoliiH/IU3CuCRBNrD/Wfhe+HfaWI0WkjnjzoJA9fPoJ6A/kTR41uj4JKg eTXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=GtK8BUVNU18tiOuBXfUOVaapsKsloyhm2IyLzsZ+k7g=; b=HU/OSn6mYdlPcUF1U64hpFZbHuZbbRjw3qfUO/KBMJOS5o9lNtPFli6f/EbweFg764 8POHK9fqxMYsIZZ+tJgCeN4hf6zwO68HRmrs9Z6VBqPOzWtjw48q3N0HzhAKXl3QFJys WHyviUQcAIpYVOpWZYh6ykdCJsc/OtmYY3nzl0sFi4dLL6clZ/ijy/myW4kivClon89N kSF+xOPCyt/NkDux06/iFrmlTQNOsjEHxb+Ezx2SWCS08liIPfgi6e2bnC+zwMQB00Uk msbkZxQ1AuU5KF5eSwhBjxjQKJvruYTTqBIWvTmE+iY1B+Ol3cZu6jr5SSOLEwro4EZZ dwxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si32465916pfg.257.2018.07.16.04.24.17; Mon, 16 Jul 2018 04:24:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730116AbeGPLuc (ORCPT + 99 others); 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> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED=-1 autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on faui40.informatik.uni-erlangen.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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