Message ID | 20240213231413.726507543@goodmis.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-64518-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp862365dyb; Tue, 13 Feb 2024 15:14:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX9XwZ8XpBgYeFAObLiX04uZkEO4G20LYbPMolFKH8kU+zbjOOLob5J90TzC3xJXMjbQd/M9LiWj7BQHX/43pG7nbIm9g== X-Google-Smtp-Source: AGHT+IHJFN/7c4Ir1ejWNA/8502Y2mWUvEdvHOB/USM75iV6MYNtOx4L35hI5RmvbqJYPTVafezF X-Received: by 2002:a17:902:f689:b0:1da:2390:c6c8 with SMTP id l9-20020a170902f68900b001da2390c6c8mr1347031plg.57.1707866055476; Tue, 13 Feb 2024 15:14:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707866055; cv=pass; d=google.com; s=arc-20160816; b=zc+c6yg4H2vgxTjPTAnzgI4cdvK2LdPkhuqDZyHFXBREIWZbU9iS0Rv2cEaPMScNZI W4fSQwSoRyu2odsi7M27RL8bylbfeCtp6C+JXgzxJnF1Dd59KzV4u8uyhjN+/B/N5uGc YUPuA2dZoGap8uu7Iz9dQwDQUASUi6oDogR3XdsalEgkK+mrr5SpDooDxVhtFMYWjPT/ nY6hLJlAJsiDtVRsvRLVZxsbfU+FNPgsBeBl+cfv7ief2RUgJReDv/VHhMgcO25fsjEA 6qN5Cmmm4D10CBkWLvvpAUqdc42960dId4e1UqpoqgW5s2jHQyPsM2gAbLeAPMw7xPw5 Exlw== 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=N8l6GmiSXD6zvNIrtOqEBVKhXWKlal3Cf1A19X+7ajw=; fh=tn3JCWqmDuhNCbX5B+CHjCCNPdflmtrqhBhD0b/ELWU=; b=hFUZNxXRDCx7rLeuI5YCg6F0JIDDxUxECmVdtr3196EHoYzDW45FAvRBGxnD4wmnyG wytJTGLg6Ay3pKjM5HJ3FAv9TRYO1ffaGOGj54wgqqKKPS2GHUZjF0g1taF/RAfbiRKG 9cJnhSdC3Euu9BbC5vvTf9rcjg7rIuIQ6D/1+QNwJXQFDQqFnFDAMW1H7zjmaMb52Eqr 0czTtsTJbQwzdd57Ka7TsA24GwZ8J7d7cXDPkCpM33ibVdh4iKeGiTBdQp9l9o1hKn27 D/2c/UnPH3oiZEDEIdR/vYP3erMQfJsTnW3KnqdFLpTchxOchmVDOMTcgLovJhzrHatA 3kiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-64518-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64518-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWT5ASLnrFiS2fGCr68C4q/SydML2M630UdOVC04LmV9Xj9vmb+6U3Sc3GkDWTIHW2FCPwDowpLzeGBpw9QUg9Crthq2Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mb6-20020a170903098600b001db40c1c212si1308867plb.129.2024.02.13.15.14.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 15:14:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64518-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-64518-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64518-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 45FE8283E87 for <ouuuleilei@gmail.com>; Tue, 13 Feb 2024 23:14:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55B3C64A98; Tue, 13 Feb 2024 23:13:11 +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 C7F6763409 for <linux-kernel@vger.kernel.org>; Tue, 13 Feb 2024 23:13:09 +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=1707865989; cv=none; b=nQZpoc/x8g5vhQym71XDFESfjGO/g7F2g3zKGQutw5WPh03pO0Ynid73UftjjYTIEIyNf0GLw13wy6/XVO7rX/9+jkOzTu92xULKj2IiXE+KAEUiOzyTTkGotMfbInb0lmAwAzWtQNtZPBbk9jN+PrLWA6noJGQzZJQlDZJY0hU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707865989; c=relaxed/simple; bh=ssoPuwJUTM4lhFHGGkAyrbCY4tQcJe89rC0tr/nMwQc=; h=Message-ID:Date:From:To:Cc:Subject; b=g62B7lLEI23zkeIUfyYiR+5fTFMjpGcylZrx8GTIJwWupLyL9EOWiXGw/DYaqAW4qZIfoQMmFggjT8GsxEx+QaJdLxBhr38X8xsfEjepljs0vSmQW3Pgupi0f9+WPNLd/iyanJb1q4CjbBW02xLbCtNvqDCoeElG3xk6MkC0gXI= 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 691CBC433F1; Tue, 13 Feb 2024 23:13:09 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from <rostedt@goodmis.org>) id 1ra1z5-000000009Dr-2S9j; Tue, 13 Feb 2024 18:14:39 -0500 Message-ID: <20240213231413.726507543@goodmis.org> User-Agent: quilt/0.67 Date: Tue, 13 Feb 2024 18:14:13 -0500 From: Steven Rostedt <rostedt@goodmis.org> To: linux-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> Subject: [for-linus][PATCH 0/2] tracing: A couple of fixes for v6.8 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: 1790827356928635991 X-GMAIL-MSGID: 1790827356928635991 |
Series |
tracing: A couple of fixes for v6.8
|
|
Message
Steven Rostedt
Feb. 13, 2024, 11:14 p.m. UTC
Two tracing fixes for v6.8: - Fix the #ifndef that didn't have CONFIG_ on HAVE_DYNAMIC_FTRACE_WITH_REGS The fix to have dynamic trampolines work with x86 broke arm64 as the config used in the #ifdef was HAVE_DYNAMIC_FTRACE_WITH_REGS and not CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS which removed the fix that the previous fix was to fix. - Fix tracing_on state The code to test if "tracing_on" is set used ring_buffer_record_is_on() which returns false if the ring buffer isn't able to be written to. But the ring buffer disable has several bits that disable it. One is internal disabling which is used for resizing and other modifications of the ring buffer. But the "tracing_on" user space visibile flag should only report if tracing is actually on and not internally disabled, as this can cause confusion as writing "1" when it is disabled will not enable it. Instead use ring_buffer_record_is_set_on() which shows the user space visible settings. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/urgent Head SHA1: a6eaa24f1cc2c7aecec6047556bdfe32042094c3 Petr Pavlu (1): tracing: Fix HAVE_DYNAMIC_FTRACE_WITH_REGS ifdef Sven Schnelle (1): tracing: Use ring_buffer_record_is_set_on() in tracer_tracing_is_on() ---- kernel/trace/ftrace.c | 2 +- kernel/trace/trace.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)