Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1526683pxk; Thu, 10 Sep 2020 18:37:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymUfR6IZckfJb5WcuRCjDpCUgV0OM+oi5IqHmV4TwpJZqoRXJNWfxF7w2enKHZnaMbG3HS X-Received: by 2002:a17:906:3bca:: with SMTP id v10mr11576948ejf.57.1599788252795; Thu, 10 Sep 2020 18:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599788252; cv=none; d=google.com; s=arc-20160816; b=ozO8tROjdoWYUjDQuPQtqJa2Kl5lTexf0rvz6PAScly1nLVGgHIkfMGvl/hum2nv9W cTAPXURPXNbRK6c1cb2R9wdP4YDEliqKTg9PPF8mddDELt+5Sw7ncOLYV3Thsw2QYx+O 3lKEnJMhJiMP4C/HVfoL/tUDVLSsC+kxnEiOQE+ebSHLxJyHs7bVy6dYH9icAFvBvICH RbEMzxV03Q57CfDoVkVc58j8gQd3MPEtV3IYLqxa7vdAqZ17pM2hIDFlCD5z7FMccyIP VWlgqKRGMLBoP+h7/em3PT6uKSmfAy5+ElMUElwGg3eFahiY7hY2bvL7vCcqM5DSQvno pZ3A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=7vaJi8kgW5W7GuAXioXeaqqVAFP6TvfOLHR8jdJNfGI=; b=XwcbtauQ8Xyi+BEtKMQ/JCLnRKlqbtXWLVQaMpTEyOHTrqOkDhhtFoauabuJPl3tYv K4PQASg28fORD3y1Ftldcnbvh6NMvuxH1DoUQojXxouVTDdGNfVUQIABbK1rTJIwHWK6 EhiIErPg/k2k/nXwncaLIrwl/KbIjGnlm8CltXTiwfQz1XdWcVYY3rx5s0eSajEpKS9p O7X/lrWdh6DTAxfOpKU+YnutNJLo+688TTtHPgrrZ68FrdEkyxb53MI4e/ZeGor7kfXf T43UjziUQ6qOwGzvQ8qxCHehYey8cXXpZoAS4ErUHFX0GJxHo1MgZB3fAjHoR2+1qlMA jD8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UOXfO5+x; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq14si270336ejb.354.2020.09.10.18.37.09; Thu, 10 Sep 2020 18:37:32 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UOXfO5+x; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725812AbgIKBeY (ORCPT + 99 others); Thu, 10 Sep 2020 21:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725280AbgIKBeO (ORCPT ); Thu, 10 Sep 2020 21:34:14 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3F4DC061573 for ; Thu, 10 Sep 2020 18:34:13 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id y6so7899838oie.5 for ; Thu, 10 Sep 2020 18:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7vaJi8kgW5W7GuAXioXeaqqVAFP6TvfOLHR8jdJNfGI=; b=UOXfO5+x3QkkTe7v71QHlKaT4HecVi4d69p2MacHc+AZ7+9f095/my4bRjsD248HuF z7yI73v+W5SQzcuFd9ukjJsGi19jMAO6obblnwR6lzhvBnXL+Yd7tIPZUZewyLXBd+5y wQYyKOMclt6T3CdHqAlP+9eKg8ekpV8PaArzk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7vaJi8kgW5W7GuAXioXeaqqVAFP6TvfOLHR8jdJNfGI=; b=rwycLgGKYZ0tBit9xp3qYsd2epftkGgqHfkGZnDk/d9Khjn2vKIiOt2m6Ch1ZURARG WI60TSEe8sXSTIuaMkW9BrosrHpFNJHxovER0AtDM1S4gLnCJ/KzfqlTHLd9aaxLSLhi lHmhxn1Sgc0biMLQM884HqgrlMHmzhOn374X/mlitsFgCtYubY+q6LsmL0r3QmJHrXpD 62wJs5Qy2uBn92C9p01NuVgCVhVv3wdBOYNccCzdhewQPSr7FeNpYOwtxiMONv2RApOL R83sWPruNK3+Lzi2dYA2cvm+66Rpn5BUFIO0WQ166Qnj47Z5FDkWkK+DBK0KWVbmXSNz WS2g== X-Gm-Message-State: AOAM532qH2iNdWjT+n+5oiBo9Eo21eBkAZGmoptNyY83gubYs7hL7RGp yVDb/jGl9fWrVkkmEOh0tD5F3A== X-Received: by 2002:aca:5605:: with SMTP id k5mr1864936oib.21.1599788052935; Thu, 10 Sep 2020 18:34:12 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id 111sm131877otc.15.2020.09.10.18.34.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Sep 2020 18:34:12 -0700 (PDT) Subject: Re: [PATCH v3 0/8] tracing/boot: Add new options for tracing specific period To: Masami Hiramatsu , Steven Rostedt Cc: Jonathan Corbet , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Randy Dunlap , Ingo Molnar , linux-kselftest@vger.kernel.org, Shuah Khan References: <159972809455.428528.4737752126800169128.stgit@devnote2> <20200910193433.236cf081@oasis.local.home> <20200911102743.de29a1f09bcb361f8d6556f6@kernel.org> From: Shuah Khan Message-ID: Date: Thu, 10 Sep 2020 19:34:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200911102743.de29a1f09bcb361f8d6556f6@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/20 7:27 PM, Masami Hiramatsu wrote: > On Thu, 10 Sep 2020 19:34:33 -0400 > Steven Rostedt wrote: > >> 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. > > Hi Steve, > > Thanks, I hope you enjoyed the holiday! > BTW, this series includes some document update and testcases. > Since we can not decouple these updates, I think it is better you to > pull the series. > Hi Steve and Masami, selftests patch 8/8 in this series looks good to me. My ack for it to go through Steve's ftrace tree Acked-by: Shuah Khan thanks, -- Shuah