From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 0E0393F0750 for ; Wed, 29 Jul 2026 23:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785369333; cv=none; b=ZRn7mXhjUnJJbefkax0oXPtvRJWIqzRU5FVgwhhZE1mwD08wS94liqFV+tWaLDAmKxSuXtc+Ys1cOuGspxr5/q5HTclXPuvxZDYO2tGe4gcdYIHtZCK7PG/UqjLI7NGAjwT/M8XPgMFf/ONGntf5O2nbXw2n+z9pMh5U22vvrwo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785369333; c=relaxed/simple; bh=NHtFhr95znyAwPiMKTPP/+cxYNCr/4bV70XiYi8Oiz0=; h=Message-ID:Date:From:To:Cc:Subject; b=kFUZlLeDprAI1UShZRbNGC6vIY7BLipFTaVUVs+1ncgeAPMRox/f9l7l42ghMc45KGvEzqfDdgMmLrsCJa11KFBbV2ISGrEe3lr8DsmVEMelBhgD2s70JAOVcaJGHvtLWAPhksFKMaC8lDgzMLN/IIqJiP7aLXvwiOLFqixUJD0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=b5E928PZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="b5E928PZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5E811F00A3A; Wed, 29 Jul 2026 23:55:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785369331; bh=6eMilFSTRz7NHvwR+eP41mb1bD7I3IMPv84361LwCKo=; h=Date:From:To:Cc:Subject; b=b5E928PZCA6APrmkHejcPiyiWGVY59G2yzvW4mWXABpbudTvXD+HjkRhMGiJW2G7X ce7njw6bolZxFqBnQdu2aFir/SJhdjd8edFfbndwuvvgBtXJgCvLuz2dJDIt/Um0O/ ELltAf6WWunH8ONztrbLNPLtIn+bXSIyLc9xW5X110Tm8LPi4MFQSAjBQRE0S3Sw3g cx/l/MUU7XRHvh4cNt749vW6BJOyQoJ30wCnx3vr6adHix2wlDRq/Vux2W9mgEOZer S+1zWjQMUSR9Z3mp5xW2ktwvEY9MiEHNSzp2Xs67YOtksWOI4jckJZLBrQVF045siE a2i+yFB92Axzg== Received: from rostedt by gandalf with local (Exim 4.99.4) (envelope-from ) id 1wpE88-00000007HY4-1Si4; Wed, 29 Jul 2026 19:56:08 -0400 Message-ID: <20260729235551.356165691@kernel.org> User-Agent: quilt/0.69 Date: Wed, 29 Jul 2026 19:55:51 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [for-linus][PATCH 0/5] tracing: Fixes for v7.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tracing fixes for 7.2: - Reset dropped_count in mmio_reset_data() When mmio_reset_data() is called, it does not reset the dropped_count so that subsequent runs will have incorrect reporting. - Add NULL check for mmio_trace_array in logging functions The functions __trace_mmiotrace_rw() and __trace_mmiotrace_map() may have the 'tr' variable passed to it as NULL. But they both dereference it without checking if it is NULL first. - Check return value of __register_event() in trace_module_add_events() If __register_event() fails, the call after it (__add_event_to_tracers()) will create a file for it. If the module fails to load and its memory is freed, the file will still point to it and it will not be removed as the registering of the event did not complete. Only call __add_event_to_tracers() if the __register_event() was successful. - Fix false positive match in regex_match_full() The regex full matching uses a strncmp() to test against the match string and the value. It should not match if value is a prefix of the string to match. Check to make sure the length of the strings match before comparing. - Fix reader page read offset for remote buffers A page swapped in by __rb_get_reader_page_from_remote() retains its stale read offset, causing subsequent reads to skip events or read past valid data. git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace/fixes Head SHA1: 78cd56c2a9d2e8da763cea3b06b636266ca66911 Masami Hiramatsu (Google) (4): tracing/mmiotrace: Reset dropped_count in mmio_reset_data() tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions tracing: Check return value of __register_event() in trace_module_add_events() tracing/filters: Fix false positive match in regex_match_full() Vincent Donnefort (1): ring-buffer: Fix reader page read offset for remote buffers ---- kernel/trace/ring_buffer.c | 1 + kernel/trace/trace_events.c | 4 ++-- kernel/trace/trace_events_filter.c | 3 +++ kernel/trace/trace_mmiotrace.c | 13 +++++++++++-- 4 files changed, 17 insertions(+), 4 deletions(-)