Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1872669rdb; Wed, 31 Jan 2024 11:37:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNCaBV1oe24CXiqSsTiKGr61eMYQfvPqWD4rj2GezdHOHn4EPj9kdSdL3wS7zwILsQc2PO X-Received: by 2002:a17:903:11cd:b0:1d8:fb03:a01e with SMTP id q13-20020a17090311cd00b001d8fb03a01emr3360990plh.32.1706729873923; Wed, 31 Jan 2024 11:37:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706729873; cv=pass; d=google.com; s=arc-20160816; b=ytGMc0le+zmynhoy7p5qvDqTTv7pvNZkYHXl98SdPSg5ttxZELLUIizAdwSZZFM/OP 6KkhEpEPIEEFlhyXNVKjnxHIIgSU77KGuhbkOyyYilLb1pS9IzVqdTUQcXlvgvjq20SL wbLjSYRnWAC3FfN2l1UR8+7h9xr/Zm4tRLJ93iStOsW9G3sulXOFGKCQiVlhJ6ISKhfg K/Dg/d3wA6ZAcRg9g1qfRvI3vq6T236f2pnXIl+3wSBthlesTC/l0rtnxnA0l2ke5ktN SNx0aASwEKQ668+jbtNlOVGrEvlhnj47+UqfHUNxZzr04a7dJtLORELseE9DPK7QrlZD WyZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=OqKO9LVsaTMkei++PeQrTvK01H0hqxRbI7tcfMp8Kig=; fh=+l7T7fQJfw43MWlhbKOX9LFhT0fKXvtmkc+xg5ou1hk=; b=TtClV7xwNtVGLuoSePOGdwrXfJO3SYEMPb/VqxezZYNf8TfZ8MySRLEyjyP7Z48qYA In6wbFhr++mRmMBVAIlCNpEVA4q2GyWGHxtqIN8RL4anUALf91yGzGYVV+Lce8qn/FvT 32bAWqOAuLtLiFIaPKxkriaOOA0+1VdchkxblAbE6+1lndDlkGD63nd7fSc95mvAKyLX 5vqvZDeZp0kpq5bLj8wlCzTnjaE2zkloDnWwO0G50zBnCNkYglDT0qxaMzja2MJJjo3d w9/vi1lG6zXN7O9rO8YMkCtnbDEeQ2WtVORTcwmUxMMe/NnPwb+N33bodO2YUwswiNYR qGOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-47015-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47015-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCURqgdyz3pH4r4fp6JTS7zRBXpLC0J3z48HA96rUGXWHHw3QmckaLHgP+9Ejq4e2DQXCsqQKdDZ/9NJ/zGul5etoG4mGXuaFiemmYdCNQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u18-20020a170902e5d200b001d8aeeeb292si9271355plf.279.2024.01.31.11.37.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 11:37:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47015-linux.lists.archive=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-47015-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47015-linux.lists.archive=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 137AD286A3B for ; Wed, 31 Jan 2024 19:27:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 960163E48F; Wed, 31 Jan 2024 19:27:18 +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 122CA38F8F; Wed, 31 Jan 2024 19:27:17 +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=1706729238; cv=none; b=bsZw6QPCA9MUUazhim5eF9nP77h0/0pvboApAFWQ3v7gcitBdDoqyfxKUgb299aeeAnJwGU7jduo45BYWQhOOqvlqSUM0yuPASXq45gGpi9uXEytXPtJKW+B/79xgpzhXTSt2zHVi9lgyW5RUIgaQsD80PIYJkRo2lyzd8yAVmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706729238; c=relaxed/simple; bh=CGx3+jWBXBCDWpSFmDnAT+IosPRcAo0ThBJx1AiPGVs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Be/v/pmM5u2IaxcSDlvG01nttBa5i8bvULkJiEwsIJUwSog7/Wr8j51COJY5eIVfaCG4w6nx3YCH1EfW8qLh1pwA0E8+G9tJSkFALgEp/fiePtgpG5hWOY3QVRvXVe+X11zooPJRMuV5Z6Ue2mU0bxWHo+QwANJQgIcaEd+TwlY= 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 6E523C433F1; Wed, 31 Jan 2024 19:27:15 +0000 (UTC) Date: Wed, 31 Jan 2024 14:27:29 -0500 From: Steven Rostedt To: John Garry Cc: mcgrof@kernel.org, russ.weight@linux.dev, gregkh@linuxfoundation.org, rafael@kernel.org, mhiramat@kernel.org, mathieu.desnoyers@efficios.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, keescook@chromium.org, masahiroy@kernel.org, nathan@kernel.org, nicolas@fjasle.eu, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: Re: [PATCH RFC 2/4] tracing: Use uts_release Message-ID: <20240131142729.2fe870ed@gandalf.local.home> In-Reply-To: <20240131104851.2311358-3-john.g.garry@oracle.com> References: <20240131104851.2311358-1-john.g.garry@oracle.com> <20240131104851.2311358-3-john.g.garry@oracle.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 31 Jan 2024 10:48:49 +0000 John Garry wrote: > Instead of using UTS_RELEASE, use uts_release, which means that we don't > need to rebuild the code just for the git head commit changing. > > Signed-off-by: John Garry Acked-by: Steven Rostedt (Google) -- Steve > --- > kernel/trace/trace.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c > index 2a7c6fd934e9..68513924beb4 100644 > --- a/kernel/trace/trace.c > +++ b/kernel/trace/trace.c > @@ -13,7 +13,7 @@ > * Copyright (C) 2004 Nadia Yvette Chambers > */ > #include > -#include > +#include > #include > #include > #include > @@ -4354,7 +4354,7 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter) > get_total_entries(buf, &total, &entries); > > seq_printf(m, "# %s latency trace v1.1.5 on %s\n", > - name, UTS_RELEASE); > + name, uts_release); > seq_puts(m, "# -----------------------------------" > "---------------------------------\n"); > seq_printf(m, "# latency: %lu us, #%lu/%lu, CPU#%d |"