Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1641911imu; Wed, 28 Nov 2018 12:40:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/XmxECBCQTehAmnkFG52UXVDd6rhhiw+1teSWhxvD9EE7HSA/e84K3S29xVN5cAtXVcqmvv X-Received: by 2002:a63:5455:: with SMTP id e21mr34863334pgm.316.1543437629717; Wed, 28 Nov 2018 12:40:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543437629; cv=none; d=google.com; s=arc-20160816; b=CW4U2ToAFO/2mrZwIscXquIhwr3VpGrY/d9oSlwu6AnKsETbObfLvzQwSi9BsZwSwU 1qHExE6Ukmz9nKnmYz7a3vCBaxma3fIT7XR8/yihkL7LyPrNFDUY+YiiD9vdOryA5Hu9 OmQb2EvYQavWN/tAu4Qyuu5eZn0D95urwI7mQWIKQCBYa8qiL3Cr5i38y7B8M9sHnWMZ OEm17zh1IC34qi6e1RfFqsMy8qwcyFgov/vq+Obl2QF5UmD5ombqyzHuY5eKSUB/ce0G TFZGwH/E1OgIplXIF6Pdi2nSPymNV/jczblNJ6t0N4QF6ccTWArzrNj6u16oEt9tV+xN RtdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Gx3UrtEY2RNouTN+t2PvjUvWZUvM7IPpA9EwYw4NZiU=; b=fWKCGFKlYMM8kl1tWQFY8IFMyPoVN7057/NpsKWq/zZbpZXWobmuWq+vkWW3rDGxLa FxYbZb/6HHOhMAEoOUiV0ORwpBP2//6NpSLrk1UASscTUvZS+F80qyd1/2cAfKDKrP1z toLr8NEXGs3vLfbbzzZ9SEjeIiLWraP53Lk4ZoQ5rLXLrKBZcSEYGT6THbRMN/BUfMez 2nWFyItyI5JqjMBewKzSBlT22aFhV0y1nUfP+OBTz580IW3ddWFJMEJj/Y1S8ZbVFjKz DS70jIk18g/RIHlYSgbNkuApzjtVB4WXPetCZdFP7ToXFskuHvlc6I/tQQL0U6mZmHXc crDA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 20si8097168pgg.271.2018.11.28.12.40.14; Wed, 28 Nov 2018 12:40:29 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbeK2Hma (ORCPT + 99 others); Thu, 29 Nov 2018 02:42:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51264 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725799AbeK2Hma (ORCPT ); Thu, 29 Nov 2018 02:42:30 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9FB2B89AF1; Wed, 28 Nov 2018 20:39:36 +0000 (UTC) Received: from redhat.com (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 81A6919483; Wed, 28 Nov 2018 20:39:32 +0000 (UTC) Date: Wed, 28 Nov 2018 15:39:31 -0500 From: Joe Lawrence To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , linux-arch@vger.kernel.org, Joel Fernandes , Masami Hiramatsu , Josh Poimboeuf , Andy Lutomirski , Frederic Weisbecker Subject: Re: [for-next][PATCH 00/18] function_graph: Add separate depth counter to prevent trace corruption Message-ID: <20181128203931.ym2rkya7a6agzzy3@redhat.com> References: <20181122002801.501220343@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181122002801.501220343@goodmis.org> User-Agent: Mutt/1.6.2-neo (2016-08-08) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 28 Nov 2018 20:39:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 21, 2018 at 07:28:01PM -0500, Steven Rostedt wrote: > > [ ... snip ... ] > > Feel free to test this! I'll be pushing this to linux-next and let it > sit there a week or so before pushing it to Linus. > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > ftrace/urgent Hi Steve, With your ftrace/urgent branch linked above, if I try a quick function_graph test like the following: SYSFS=/sys/kernel/debug/tracing echo 0 > "$SYSFS/tracing_on" echo cmdline_proc_show > "$SYSFS/set_graph_function" echo function_graph > "$SYSFS/current_tracer" echo 1 > "$SYSFS/tracing_on" I see a bunch of scheduler interrupt functions in the trace/trace_pipe without even invoking cmdline_proc_show(). This tests works as expected with Linux 4.20-rc3 though: % cat /sys/kernel/debug/tracing/trace_pipe 2) | cmdline_proc_show() { 2) 0.320 us | seq_puts(); 2) 0.030 us | seq_putc(); 2) 1.352 us | } Operator error, or did the patchset break something? Regards, -- Joe