Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp104583ybp; Thu, 10 Oct 2019 14:45:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/IWMEiun4OykSzIS9iTNuDX9bsPen9rdJYYZ8iTV4sqJtAI0B6O4QY1bjl74/bWFxs/+Q X-Received: by 2002:a17:906:1cd8:: with SMTP id i24mr10184333ejh.149.1570743936561; Thu, 10 Oct 2019 14:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570743936; cv=none; d=google.com; s=arc-20160816; b=h1Np2cv8JXTC+L8GcQcmTiuBPpcQDGa1CF70V8jD/Oe2sR7GhReaAfJ4Zb6s6RNERN wSd7CqD+UKW35yt06N9yDq78qGPeS/tc5KOV/7OO7O0Ygif2/9X4VUZOfiBLP2tUZ88e wT0r9zD5IEGrqJ0xGbZl1QWemgEXKXYAmvAuB656SS/B3a54LIY9dj+y6g1XXXACYs+Q dgJ8hfXsvr6Bs3jaDdOBZgk+f6zbvU2wZ22376TeJGAGMsLhrL0MiS832ZtfmCD3n8mS KxoRrpsg7zs8Hx6vNnqaO2sZJlfpfcrZb7EbawJHUTkzAYpUvLXTm8QFWGc4P1/XviZn v7ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=LC/RVgEYv+mBxhyoTr1vbgr7v5SkYCclK2izIbRauwc=; b=ErEF/icWAZt9VaUiUbDdUUnwDFv2zxIeT30JOb3lBgMjho4v632GcTh3TdbSHFl7Yp E9vwq2CQGBePfrA8iIhsgJdfp9p8gP3IfALP5LUIiq8warq6b8S/yrr0TCWePpq0qEIP uCpSpS3GDSbJNl3skZ5iUGZJJ6dDwAgEAl9W2otsFOYsMVcRVA44dhCEb8I81yY6WLbC bAeV1yWFrTShpPtBD9/KzZmhif7u5bPiykMrQYDs4/gykGaKiqTaRpeitPVrTlsy35Ca +4+/KgXV9LpSZFvh0PVQ3yVP+8bP2anzfBcS1MBMETWMmIGcwjDMGEuE24ELUlatLect czbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f29si4062628ejj.110.2019.10.10.14.45.13; Thu, 10 Oct 2019 14:45:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727394AbfJJVoa (ORCPT + 99 others); Thu, 10 Oct 2019 17:44:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:40754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbfJJVoa (ORCPT ); Thu, 10 Oct 2019 17:44:30 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4405520B7C; Thu, 10 Oct 2019 21:44:29 +0000 (UTC) Date: Thu, 10 Oct 2019 17:44:27 -0400 From: Steven Rostedt To: Joe Perches Cc: "Srivatsa S. Bhat" , linux-kernel@vger.kernel.org, amakhalov@vmware.com, akaher@vmware.com, anishs@vmware.com, bordoloih@vmware.com, srivatsab@vmware.com Subject: Re: [PATCH 3/3] tracing/hwlat: Fix a few trivial nits Message-ID: <20191010174427.49a08f44@gandalf.local.home> In-Reply-To: <889073497c3f8bed25acb0015049837141a3b688.camel@perches.com> References: <157073343544.17189.13911783866738671133.stgit@srivatsa-ubuntu> <157073346821.17189.8946944856026592247.stgit@srivatsa-ubuntu> <889073497c3f8bed25acb0015049837141a3b688.camel@perches.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2019 14:34:55 -0700 Joe Perches wrote: > On Thu, 2019-10-10 at 11:51 -0700, Srivatsa S. Bhat wrote: > > Update the source file name in the comments, and fix a grammatical > > error. > [] > > diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c > [] > > @@ -1,6 +1,6 @@ > > // SPDX-License-Identifier: GPL-2.0 > > /* > > - * trace_hwlatdetect.c - A simple Hardware Latency detector. > > + * trace_hwlat.c - A simple Hardware Latency detector. > > trivia: > > Generally it's not useful to have the filename in a comment > so I think maybe delete the "trace_hwlatdetect.c - ". Not a big deal to keep it. The original proposed name for the tracer was hwlatdetect, but people said it was too long and hwlat was good enough. Thus we changed the name to that, but didn't change the comment here. We could remove it, but I think it's fine to keep it. -- Steve > > btw: > > $ git ls-files -- '*.[ch]' | \ > while read file ; do git grep $file -- $file; done | wc -l > > About 5% (2500 of the 50000 or so) *.[ch] files in the kernel > source tree contain their filename in a comment, so it's > certainly not that unusual. >