Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1465889pxk; Thu, 10 Sep 2020 16:35:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJvxsCo700iG7RFC+c+4EZpj5AkTq3+dmG8D6IjPQdUo0lG9AxLUhjsOlV+wzUetB2Hpzl X-Received: by 2002:a17:906:1986:: with SMTP id g6mr11990295ejd.404.1599780933778; Thu, 10 Sep 2020 16:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599780933; cv=none; d=google.com; s=arc-20160816; b=UpVF73Pm0q1jyUx8U0wTxnXUEPUPe+aExiIkw8uKAwS7zlqBtKeL9Cp20YnZnsnFdy hvf6jER+9Fkmds+Ak3eVmgP8A/W2NxlVswjnLMGAw0gACshvWtYG/nt3VbFS6yA5qYam cKT+iMJz0p+PPDS9QVwdiCXx1CDeCnu/JXjp4/tJx05Er2bVUK0jSHVsa+bFG5+b/ekb z/eaT43EGLtL8eQYIpjTnuLnLnoFSRUiuVB2jMoWBq+oCTJyPmStOwUmPGYesus6Cj7e /1r5xKy57vsP0/vmWr4qEvPL5o3sXFu/Dr2K7h5ZYYvg7S8CwjyJaYLgmJuj8Ubw3emu u+UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=2seIFZHV3wLqzeRTKff8xKWFl89VIrzJEgn5/dWaPV4=; b=sAmk7OFS1N9b7N8SO5Taq1vKugGib/afiqZtS6cEA4utZlKh0UzPAyglv6HkiVmHWT vwV4RNEq1F0tmnrpCH+OBlcsP+cpXNGPcYRFgMjSZsd1Qp2QXKr57IQGv2Hau6yRxAJn IGzg5XYv1SxOLbjcP4IQi6akAYRoaxtdmeR5Akd1IW8g3WCUn4oz9HyMVD8aUC+13bfk jCvUwHHWQ69k01diW3n7noRH3xQxbQOHF0A0ao09BdGfcM2fpwAtL/ZCggqiJFlK6ioG Kmjn1VVVDpBiX11EeiUJLZ8/Kq4z59zUsKsXbm7aYhyE0L+kNxhr8L6Wh5rzAgkDLtiX ekNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si25si101846ejb.431.2020.09.10.16.35.10; Thu, 10 Sep 2020 16:35:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725601AbgIJXeg (ORCPT + 99 others); Thu, 10 Sep 2020 19:34:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:49182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725294AbgIJXeg (ORCPT ); Thu, 10 Sep 2020 19:34:36 -0400 Received: from oasis.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 65517208A9; Thu, 10 Sep 2020 23:34:35 +0000 (UTC) Date: Thu, 10 Sep 2020 19:34:33 -0400 From: Steven Rostedt To: Masami Hiramatsu Cc: Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Randy Dunlap , Ingo Molnar , linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/8] tracing/boot: Add new options for tracing specific period Message-ID: <20200910193433.236cf081@oasis.local.home> In-Reply-To: <159972809455.428528.4737752126800169128.stgit@devnote2> References: <159972809455.428528.4737752126800169128.stgit@devnote2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Sep 2020 17:54:54 +0900 Masami Hiramatsu wrote: > Hi, > > Here is the 3rd version of the series to improve the boot-time tracing to > support kretprobe and tracing_on option. Previous version is here: > > https://lkml.kernel.org/r/159894698993.1478826.2813843560314595660.stgit@devnote2 > > This version adds uprobe %return suffix support ([5/8]) and the testcases > ([8/8]), and update kprobe %suffix support([4/8]) and the uprobe event > document([6/8]). > > > The combination of tracing_on and kretprobe allows us to trace events > while a specific function call period. For example, the below bootconfig > will make a function callgraph in the pci_proc_init() function at boot > time. > > ftrace { > tracing_on = 0 # off at start > tracer = function_graph > event.kprobes { > start_event { > probes = "pci_proc_init" > actions = "traceon" > } > end_event { > probes = "pci_proc_init%return" > actions = "traceoff" > } > } > } > > Here is the example output; > [..] Hi Masami, This looks really great! I just got back from a 10 day holiday, and I'm drowning in "catch-up". I plan on looking at all this relatively soon (in a week or two?). I just don't want you to think I'm ignoring this. -- Steve