Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp531867ybk; Wed, 13 May 2020 06:34:45 -0700 (PDT) X-Google-Smtp-Source: APiQypK6LjlRhzRHWsXM5XJc0in/uFmOKef1XGinKVDmBR8H5TdGK01kSb0c2FcEqn+wrvbY1ywC X-Received: by 2002:a50:e8cb:: with SMTP id l11mr23457957edn.174.1589376885372; Wed, 13 May 2020 06:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589376885; cv=none; d=google.com; s=arc-20160816; b=Pis45Zvia9TW/zDcUyMv24F2BER0WPKl+v9Q7rLOVh6Gt6Li7NG46T4IeBP3c27mUe Q4VucaBNkPBV4Z2NOsenQ0LQswozUa0PT+czBAHlqLYbPm80mru/BqGJGja3orFYn55+ 13uB/X9RunngXOSam46wuOxGhCWLJNTSJqUOwjpymVdewZoAxhumYTZC+qKGYm01X1FF rGPRrD9QHyH4eu+NjQQzdNz1kpPiD9eVCqRmd8ul5vpbcvjiLGFmqZi3aWt9cfdLOdiO OndV2ozUQdOPnJ5jp7JKxQKo8g8NOffVjb2UBzIyooyOjjU4nrN18Ehme+BcgJjKcb8J 7u+w== 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=G5mVLrSYJD9u7vpXgabwfZzSC7WDvhx1b6voKazouX4=; b=iXOt8AiNTHXksIcqnqg3fgdvaiPANUulZfvHfe131qV+w9m64r04cuApBdmMDofOI8 T+8/ufs0ju/09WhJR7XSvYgHlZOxKYV0i18AgX6uE59TzbwqufUANaLBk5lkCmgF7MDX wKpS/zA8ngEiihbsZ7Bi3rKve/uzRE9xrkTEA2BtaOwhqriOw2zMb9xVG2F2yhEhmoeZ sKNMG/yTql2wGpugywyI/gysaZH/6VJHFCIltkz2dcudIHBYBO1sITjQsM/M+lOlQKLy n2HQmm9PkLyqceDLu3xJKkSUMhg4GnA1rMG1Q5i/Ul1hV6e/vDzKB3xwQN/oHSzyLEjw v8NA== 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 p90si9645440edd.215.2020.05.13.06.34.22; Wed, 13 May 2020 06:34:45 -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 S2387742AbgEMN3Z (ORCPT + 99 others); Wed, 13 May 2020 09:29:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:47878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729309AbgEMN3Z (ORCPT ); Wed, 13 May 2020 09:29:25 -0400 Received: from gandalf.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 3C87D20657; Wed, 13 May 2020 13:29:23 +0000 (UTC) Date: Wed, 13 May 2020 09:29:22 -0400 From: Steven Rostedt To: Sven Schnelle Cc: LKML , lkp@lists.01.org Subject: Re: [tracing] 06e0a548ba: WARNING:at_kernel/trace/ring_buffer.c:#ring_buffer_iter_peek Message-ID: <20200513092922.6d79f6ee@gandalf.local.home> In-Reply-To: <20200513091906.GA12720@tuxmaker.boeblingen.de.ibm.com> References: <20200429090508.GG5770@shao2-debian> <20200513091906.GA12720@tuxmaker.boeblingen.de.ibm.com> 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 Wed, 13 May 2020 11:19:06 +0200 Sven Schnelle wrote: > Did you had a chance to look into this? I can easily reproduce this both on x86 > and s390 by doing: > > cd /sys/kernel/tracing > cat /dev/zero >/dev/null & # generate some load > echo function >current_tracer > # wait a few seconds to fill the buffer > cat trace > > Usually it will print the warn after a few seconds. > > I haven't digged through all the ring buffer code yet, so i thought i might ask > whether you have an idea what's going on. Can you send me the config for where you can reproduce it on x86? The iterator now doesn't stop the ring buffer when it iterates, and is doing so over a live buffer (but should be able to handle it). It's triggering something I thought wasn't suppose to happen (which must be happening). Perhaps with your config I'd be able to reproduce it. -- Steve