Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp894041pxb; Tue, 9 Feb 2021 15:52:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyteHDcTCtxIEXVhY8HyC/ZnglMq3m9oL7BjtnwvbdPpANt2CKYZMgs/Pg737kXLQOxnO30 X-Received: by 2002:aa7:ca13:: with SMTP id y19mr630219eds.300.1612914754594; Tue, 09 Feb 2021 15:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612914754; cv=none; d=google.com; s=arc-20160816; b=GtK6gCFEIv8oaccuFuggGscQohAadELPHtVqL3JaHSUo7dOZpuWNcKy2PBAlo/34eT +dQ8hCIJ3ldLWkiFNLZ7Vt/S/AuqsLwBIIATpIGBOU4GlgSWrVG1g5mWz417ZK2RWmMl UzhTnLjym9gIUz5WPEQPsoMKEoT/iJ1HGMIiPBaqdhc5Uyl+HafSPgBzZw4wbg/okXj7 VlJ7ZfEROUdVdHQ7TMkLH9IcGjQ9JIq2Q4tSBZfnEn915dx3rbdTaGc3XvPevLGlexUt 1vQaU0IOsvdJlLr3Fkq+0tgYR8BbMb/z2/PRBKfoW0hH/AysLJPC4bA+KiT5aVRNXzSz m0aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=iw4I/TSJS9t2CWa2D2GboXY45+/k+fXlE8UoKWbpMsU=; b=PkSw73qYxSp2+MUJuBWbVR1RM3/qjpYX0ryzXFl+4z7Qki+xI9PQdXIom3uf1lCnod 3JlGYWE65FKNV/V8NjtDqb93KrE18TC40/FgjTQppDPNhem5IeT7/eTc4UvWUZIhGBvt n7p9LIbvyAEwecBU+LeST9rn84pyvs6C9eRxiFFSxeYLsee19/SCcjG/k13qr9c70jyQ nlWwg5Jmcd+cd/tsrd+BocJ7ABUCDeE+eSvPlcGYan6RNnbaDXNTRUS5QnlCBcB9aNcb b77Gw1yiI8SLWsP3Uua6k8ny8TFBT2lXKHb0iUZqQY6FmP8tcCShWpQ2fojqi4yjkQ0R ni/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 l10si133263ejq.101.2021.02.09.15.51.45; Tue, 09 Feb 2021 15:52:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234597AbhBIXu4 (ORCPT + 99 others); Tue, 9 Feb 2021 18:50:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:55568 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234146AbhBIWO6 (ORCPT ); Tue, 9 Feb 2021 17:14:58 -0500 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 F2F7364DDF; Tue, 9 Feb 2021 21:34:32 +0000 (UTC) Date: Tue, 9 Feb 2021 16:34:31 -0500 From: Steven Rostedt To: Brian Norris Cc: Wen Gong , ath10k , linux-wireless Subject: Re: [PATCH] ath10k: change len of trace_ath10k_log_dbg_dump for large buffer size Message-ID: <20210209163431.11133472@gandalf.local.home> In-Reply-To: <20210209145531.5977b16d@gandalf.local.home> References: <1612839593-2308-1-git-send-email-wgong@codeaurora.org> <20210209145531.5977b16d@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 9 Feb 2021 14:55:31 -0500 Steven Rostedt wrote: > > [for-next][PATCH 2/2] tracing: Use temp buffer when filtering events > > https://lore.kernel.org/lkml/f16b14066317f6a926b6636df6974966@codeaurora.org/ > > Note, that is only used when filtering happens, which doesn't appear to be > the case here. I was basing this off of the original commands, but the stack dump says otherwise. But it should still work. > > > > > It seems like we should still try to get that fixed somehow, even if > > the below change is fine on its own (it probably doesn't make sense to > > such a large amount of data via tracepoints). It would be unfortunate > > for next poor soul to hit the same issues, just because they wanted to > > dump a few KB. > > Yeah, it was a design decision to cap the max size of events to just under > PAGE_SIZE. The ring buffer is broken up into pages (for zero copy > transfers to file systems and the network). Thus, no event is allowed to be > bigger than a page (and actually a bit smaller) > > That said, it shouldn't have crashed, it should have just failed to record. > > I'll test it out and see why it crashed. Looking at the original report, I see: CPU: 1 PID: 141 Comm: kworker/u16:1 Not tainted 4.19.139 #162 Does this still crash on the latest kernel? -- Steve