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 A66738460; Wed, 18 Jun 2025 09:19:04 +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=1750238344; cv=none; b=UMFFUZn52QITuW7xq9XRY8WOvOkARi7NZCuZ6vpyXIoTC9SmPcl1awh2xsdzvkNRy8Otv08RqCQMWJMohLHS20KCVEn0zXSgAtVua4W1Y5hXO6C1D+8Ecvj58gK6b8NJb4zpcqhvNQ+nZGMD6VA5b9BNnHvdeJHZXwDq4PF6k40= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750238344; c=relaxed/simple; bh=BwpR+rZP2lNE2niMFjFRZlfZHHIA4fXPSo6ot9gp2Es=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l5EKAL/7HYcEQab4AQo+mvWrqWMzwBIr1FwD2oiGUSKjMQwEarEEsFrys45Z5ai8pYro/bl0DnbXv6sDYM+D28UQEeLe+LCVojJXTCk0HJBb1ZjASLAr9c+vT19W22wGOAybQuYRCl5O/CmaPcAjaEXLhSZYw5H6E/YfS7PV/bE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V1aPEHow; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V1aPEHow" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FC15C4CEE7; Wed, 18 Jun 2025 09:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750238344; bh=BwpR+rZP2lNE2niMFjFRZlfZHHIA4fXPSo6ot9gp2Es=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V1aPEHowVEVLqNprW+Ed+JhzYf8gWk9EB2lrmt+1PpfENC79sa2a4a+8myRptb1hC eki2V1dXvK80pXfdvfDoUhfv4ZXNpLYBJBG7SuecnV6VaHAwot4TvQLS+eEqyDoN2o g6R5F/a5I8td1aJYrVRrPRhtJMW7D5PWQ/A1G1fn6s9nC9JPXQeEALW1Z6kzR5N3rG HAth2Sr4AiG/rSOhc62rCxMydv+6ed60sMwmeiflNIKyEXsCCPXA2YSn7WkNBOI0W0 N0BsDVdh/W9pWBqbzvZweXrFpqwhMaMIDTHyGXMk8mmsL6w2OcUJwslcKrVmDYJt9O 2cH36GaBa3zuw== Date: Wed, 18 Jun 2025 11:18:56 +0200 From: Christian Brauner To: Steven Rostedt Cc: LKML , Linux Trace Kernel , "linux-trace-users@vger.kernel.org" , linux-fsdevel@vger.kernel.org, linux-perf-users@vger.kernel.org, Masami Hiramatsu , Mathieu Desnoyers , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Sebastian Andrzej Siewior , Namhyung Kim , Linus Torvalds , Andrew Morton , Greg Kroah-Hartman , Al Viro , Jan Kara , Arnaldo Carvalho de Melo , Frederic Weisbecker , Jiri Olsa , Ian Rogers Subject: Re: [RFC][PATCH] tracing: Deprecate auto-mounting tracefs in debugfs Message-ID: <20250618-freischaffend-gefunden-139c8c064797@brauner> References: <20250617133614.24e2ba7f@gandalf.local.home> Precedence: bulk X-Mailing-List: linux-trace-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20250617133614.24e2ba7f@gandalf.local.home> On Tue, Jun 17, 2025 at 01:36:14PM -0400, Steven Rostedt wrote: > From: Steven Rostedt > > In January 2015, tracefs was created to allow access to the tracing > infrastructure without needing to compile in debugfs. When tracefs is > configured, the directory /sys/kernel/tracing will exist and tooling is > expected to use that path to access the tracing infrastructure. > > To allow backward compatibility, when debugfs is mounted, it would > automount tracefs in its "tracing" directory so that tooling that had hard > coded /sys/kernel/debug/tracing would still work. > > It has been over 10 years since the new interface was introduced, and all > tooling should now be using it. Start the process of deprecating the old > path so that it doesn't need to be maintained anymore. > > Signed-off-by: Steven Rostedt (Google) > --- Sounds reasonable.