Message ID | 20240223013323.798805901@goodmis.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp324841dyb; Thu, 22 Feb 2024 17:32:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVeon9rI5sXn1ZSoqXLKg2ykeVKryct7XrfOCbbK5SM7f7IcG88FYGXB4s4LwrcQo2A9F3zwPwR9ki+2o7Ai/ktket+fA== X-Google-Smtp-Source: AGHT+IEkf+NFsxMCu/jOH9Stmqc7my9CV65TmA///Ae2G8OFgg9svInMtqduJF+eQeLrywBUqiLw X-Received: by 2002:a17:903:120c:b0:1dc:524:6da4 with SMTP id l12-20020a170903120c00b001dc05246da4mr707219plh.8.1708651962864; Thu, 22 Feb 2024 17:32:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708651962; cv=pass; d=google.com; s=arc-20160816; b=HgaarqVkYCDFyMNen/rO+ktc9RDQw1Djy4ZJfMen+LzY8Gd0m4SLP+ra3Ek+uHCMB9 esF4rHkUdZjU+D6Vi49glWvpI/g2JzVTsEI5Fi2upSwTE0i0Xkqxcn4saHzvjEMybUun E3s25+G8Jx4w8HlEUBaxOpOHknnZb/1ykoHfQ2uLNsHe1vTFHpurXaJ25ZtmXgw0KxIG i/fy5VHrrMn7oM+KFFtC9y1MpWHi4+XXdwU/lm042oXOMqU5rZXpjUCaWwJXL1guJIwm oAjOoQadS8w0hR+LCua2S06DaG4mKm/5q0Karcq1xYYgkBHav0BNsdM04D5qR1n1h3NK P0wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :from:date:user-agent:message-id; bh=l/oJZVk9uvpI+FOIjjYu4KPdikPD6W/CDV1H6iwt404=; fh=TdZ0M6+ZhUU2JkCc5zvDTA1ryfZXsigMobkRM04iH2Q=; b=nDXrVbbojCiZ6ITO4kvmw6QLRy3TzEpOVazMrJD53714iBITeJEiBbk6fIcfqPBc3l Br4zyRaPsXj9NSu9KJ+bGKlY81HSS7flVSWCVKFKNJjeMAOv/Ks7ANiTaB5VFpcNddD+ CdZ8dsn0s7vvuln4FcgpkvVbjNpzvVnKjvj75fvn+ftif8bJDbpTW+Ic8m+knKmoE/vs yS0raiwzRv8OornvASkXzk3a/TJCVV6piyFQjP3K7QT9ZuZcqYm+NCxq4dfRldqhP24E eCJ3tEJbJVF0psi80ug6NeB/pzlw3yOPeMaz1FZrjQDSk1OLmWnbwO+DCP9WHcuxquX4 zktw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o23-20020a170902779700b001dc42bd343bsi2987810pll.268.2024.02.22.17.32.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 17:32:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77627-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 92A01285373 for <ouuuleilei@gmail.com>; Fri, 23 Feb 2024 01:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06D74CA73; Fri, 23 Feb 2024 01:31:55 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AA869470; Fri, 23 Feb 2024 01:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708651913; cv=none; b=mlcANNv6E+tcEBEiEBWhQVGwahnNBEW9KA9Z8vTbPupTxByir2d5Cb2cG2If0OowD8cpLxHX1vkSDcLcyjlOejH4TqTujtEDmu1lPzRXZ5TsBmfkup9MIMXBC42zs6+ZyCsnQRSWE6GWCmD4nj0tni2S4xxgfh12USltB6Aiiyc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708651913; c=relaxed/simple; bh=vsgQXvFzIGZYJuAH8O4F9NAg1U6Ack1SewN87diLNIQ=; h=Message-ID:Date:From:To:Cc:Subject; b=qCCjDARWqjME5ChLLdslkSliVt0qImv4cPs4eug14VPQqpDDGXfhpysmy+nNAerBKyFGt9/GAyRvJV6GvR+mHN23Uc8GDoW1TsXrLfHnyWcwhao6+fhONrAYhq2m+zeu80cKSjubIqw05daHp/BltmxgpSVx/M3E72b19UBvt7w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02708C433C7; Fri, 23 Feb 2024 01:31:52 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from <rostedt@goodmis.org>) id 1rdKRc-00000006ofb-2Gce; Thu, 22 Feb 2024 20:33:44 -0500 Message-ID: <20240223013323.798805901@goodmis.org> User-Agent: quilt/0.67 Date: Thu, 22 Feb 2024 20:33:23 -0500 From: Steven Rostedt <rostedt@goodmis.org> To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: Masami Hiramatsu <mhiramat@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Andrew Morton <akpm@linux-foundation.org>, Vincent Donnefort <vdonnefort@google.com> Subject: [PATCH 0/2] tracing: Fix snapshot accounting Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791651440505642060 X-GMAIL-MSGID: 1791651440505642060 |
Series |
tracing: Fix snapshot accounting
|
|
Message
Steven Rostedt
Feb. 23, 2024, 1:33 a.m. UTC
The ring buffer mapping test failed after running the ftrace tests. This was due to some mismatched snapshot accounting that left the snapshot counter enabled when it was not, which prevents the ring buffer from being mapped. Steven Rostedt (Google) (2): tracing: Fix snapshot counter going between two tracers that use it tracing: Decrement the snapshot if the snapshot trigger fails to register ---- kernel/trace/trace.c | 2 +- kernel/trace/trace_events_trigger.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-)