From mboxrd@z Thu Jan 1 00:00:00 1970 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 67C6318FC83 for ; Fri, 16 Aug 2024 12:16:14 +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=1723810574; cv=none; b=jhI/rCviFPPrfVRzJmcrGuaHUDoH6WXm65PAWmIITDaLUcQBaSIyasrY2aUFy7SW4XMfnKZ6u+E9VJFvHdfjNFmW2Sw8nl9ltQeOwNvShOlQL1/f90HgADL7UYMU/lTEU3waMe3IEKrkTCFoJ7sbFgx8pLO5Xx/YdLLYzagFjC4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723810574; c=relaxed/simple; bh=l8ZnAKQEVAGLvUew7fQPzHPBzvrXX2LGq4Z4vYmF+X0=; h=Message-ID:Date:From:To:Cc:Subject; b=WTappxdPSWpadxPxH3LBUkD9+weqIcMyTS61LRNgLigZmkMjiaeaIWyDVPOobq5VrHZD/yuoOE9GTgODrs/XDylNXRYCi+tmOMrPVzjrhCgSiwCsZ1qSN6s1kenDKMak5pC9j0A8BDwf+addur+DbrbRl//Qy60qOMwHU0k7x3o= 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 EA3BEC32782; Fri, 16 Aug 2024 12:16:13 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.98) (envelope-from ) id 1sevse-000000024BC-0NCe; Fri, 16 Aug 2024 08:16:32 -0400 Message-ID: <20240816121611.805849825@goodmis.org> User-Agent: quilt/0.68 Date: Fri, 16 Aug 2024 08:16:11 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/2] tracing: Fixes for 6.11 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: A couple of fixes for tracing: - Prevent a NULL pointer dereference in the error path of rtla - Fix an infinite loop bug when reading from the ring buffer when closed. If there's a thread trying to read the ring buffer and it gets closed by another thread, the one reading will go into an infinite loop when the buffer is empty instead of exiting back to user space. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/urgent Head SHA1: 90574d2a675947858b47008df8d07f75ea50d0d0 Dan Carpenter (1): rtla/osnoise: Prevent NULL dereference in error handling Steven Rostedt (1): tracing: Return from tracing_buffers_read() if the file has been closed ---- kernel/trace/trace.c | 2 +- tools/tracing/rtla/src/osnoise_top.c | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-)