Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1661798imu; Wed, 28 Nov 2018 13:02:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/XIl1yXP9XnnsMQY1YZosPbCBS8b2vjMSH00V4ygRynhqkdnoQmwCLnKpf5T9tdZpnxnwyq X-Received: by 2002:a63:194f:: with SMTP id 15mr34976882pgz.192.1543438939386; Wed, 28 Nov 2018 13:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543438939; cv=none; d=google.com; s=arc-20160816; b=bNMasORfdUJ/e8SzFWSqWuuSJ0R1vmaWmFOtVusPQzA5ruXL8u0v8XjX2q8Q86uEGs o4qqAPTLiPDN820ExggBYG4e4iTb4pytcYqAjYlsSSw8eud/iwlY1LgkufK4kWEK7z8S wemkyvv+riKk/QQHgY4fsdDGDFOVwQJ9Rsi96LhtO1jVDik35F4tiTOqEam4yDMzP4pB mkQUmWMHD/sOlNQcSBN6IHZN7TIgMROhTlgbJ+LP/G6N4zBphbYmugmvQW4dgNGvvCS4 SL1ScZMHg1ICmvaKnv8uX3VOEuqz1NccE+N8zpqc4ZYb8cmp4sNAUcD1Q2B2PCAvzxRa GY+Q== 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=pQ7n6c4btPplvcObq4bEjiT5e8f3sp1HqOZ/Od+kslE=; b=eNHOd8sfzgnyTCk0KUvt6jJgNIVyZiNmdO1E9Wo6Y0QZ99pRyPy80FIvZRCHW+ewww pwrEwCqYXODYcHm78M/nl5plo8fwF6Nn2YKGf9hGm7qle8qg7VcxdxIPYSgY+EzYSuIY u4VdZHE/jUqkUwyyxf7RbT+3mpeQ2jGeKn6U1zpG2zRKukQQZyn1v2UcJV9g2JxEVNwL 7GguLCcbRM1mPzw/HyGjhpTqiNycSOYo41z5CbD0Rzop/zQ7wciG5P+ZpKAZ4Kq7Td3/ y+FpGRhgAgSJ8LC6jSWuQ4lqIA0dxagsXxlWnuTF2nEwfcSIwiBMl3WNAAHMMbm00rnR pl+g== 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 d17si9379240pfm.40.2018.11.28.13.02.03; Wed, 28 Nov 2018 13:02:19 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726498AbeK2IDU (ORCPT + 99 others); Thu, 29 Nov 2018 03:03:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:35470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbeK2IDU (ORCPT ); Thu, 29 Nov 2018 03:03:20 -0500 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 475F12081C; Wed, 28 Nov 2018 21:00:23 +0000 (UTC) Date: Wed, 28 Nov 2018 16:00:21 -0500 From: Steven Rostedt To: Joe Lawrence 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: <20181128160021.09acd1af@gandalf.local.home> In-Reply-To: <20181128203931.ym2rkya7a6agzzy3@redhat.com> References: <20181122002801.501220343@goodmis.org> <20181128203931.ym2rkya7a6agzzy3@redhat.com> X-Mailer: Claws Mail 3.16.0 (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 Wed, 28 Nov 2018 15:39:31 -0500 Joe Lawrence wrote: > 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? Nope, that does seem to be a bug :-/ -- Steve