Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753784AbdCTLMD (ORCPT ); Mon, 20 Mar 2017 07:12:03 -0400 Received: from mga14.intel.com ([192.55.52.115]:29603 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395AbdCTLMA (ORCPT ); Mon, 20 Mar 2017 07:12:00 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,193,1486454400"; d="scan'208";a="62609564" From: Alexander Shishkin To: Chunyan Zhang Cc: Chunyan Zhang , "linux-doc\@vger.kernel.org" , Linux Kernel Mailing List , Mathieu Poirier , nicolas.guion@st.com Subject: Re: [PATCH] stm class: Document the stm_ftrace In-Reply-To: References: <1489992438-14228-1-git-send-email-chunyan.zhang@spreadtrum.com> User-Agent: Notmuch/0.23.5 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Mon, 20 Mar 2017 13:09:54 +0200 Message-ID: <87wpbk2ohp.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 35 Chunyan Zhang writes: > Hi Alex, > > On 20 March 2017 at 16:49, Alexander Shishkin > wrote: >> Hi Chunyan, >> >> A couple of clarifications: iirc this applies to the function tracer >> of ftrace, right? Does it make sense to mention that? Also, are you > > Right, only applies to the function tracer currently (actually only > function address and parent function address of Function tracer is > recorded into STM, I mean it doesn't include like "pid" "task name" > "cpu-id" these information right now). It makes sense to mention > function tracer, I will address that. Thanks! >> planning to support other ftrace payloads like trace_printk()s? > > No plan so far, but I think I can consider to do that, it depends on > how many people think that are helpful. > What do you think? Well, I myself almost never use function tracer, but I do use tracepoints/trace_printk()s. I'm *guessing* that everybody who's subsystem implement tracepoints will be interested in those. I confess that I haven't yet looked at the code properly, so I'm a don't have a picture of what it will take to implement these. Regards, -- Alex