Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1152333lqd; Thu, 25 Apr 2024 07:25:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5xz651hZsYHsjxJ/1QW/GxyE2TAxtn4s5HjpMXFqWWH5YTl/O6LOY1GW2g+Cfoy6R3GDQEcn+T1HesUJ3PcJnt3vWDQYX2l1MXihFwQ== X-Google-Smtp-Source: AGHT+IFx2QFUwiZcDapQlGAoXcBD8bp7TowlaGKFQHEzv6EomST5Cq99tpH33UyyMC+az6dQ3/qv X-Received: by 2002:a0c:ab19:0:b0:6a0:7e34:c045 with SMTP id h25-20020a0cab19000000b006a07e34c045mr5698205qvb.50.1714055142324; Thu, 25 Apr 2024 07:25:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714055142; cv=pass; d=google.com; s=arc-20160816; b=wUPaITDn6Q364vovbgiYtaDnEewbtiRFe+kl7XZ8vxaGSkv3NY6HTXwny+euFRGP6p QHkL2nFk7wouzZFSoIp91/KZ3YOUn/RqBKvG4U9/s/S5BsyPBgDSKEHMnB7QZR9GYG6l sbWCVra06XNdbxFSmPfOcbeaS39Qg3LxMmgerrLsqt9mA8JRx6KRIekL1+KHqH2+2IeZ zYq4CCvPh/Hajs0j/8RcaschV34O5JmjvI0xvwI2WyFp7ccSvF2RS01SuxF76G4Tuq3j xICe6VN9/JFHjdP39KS1jEWrFbOSNhWIEva6cIJCyH/3JFbMLUvwkjRh+1J7X87cTAJ1 BTIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kOg3X+P4OyY49KSjirphxDGKPANWTgReWEYYKikCrzw=; fh=nMQAzGZxfCPPTJJxb1Y01ix0pFnH7UtYtRKAkdzK1h8=; b=bTVQeXNqtF41v60Y7lyfTPqYi2qyWB0yVZ3s3tOy0ocEpWalBv8U3AQpOigTFviLzt ITHzK/nMhv/oDjcEE5gAqLOrmePKINTrnl/vxuBG8QM1Q8tRlKFGK9/lb7VCNMlbeQ3W oZI2NkH6W8yxkwT5+151UERc0AHFw2ZBGomYFHrWcYpZ9P3OPJ6YtTcmxk9YEwxEgYMK O8tez7n+mUKCPo5yCXIBoNLUc8ZVxLYhilgag2M9xIswp1Iruh8L31+2KMthr1EFJVvp ZuhXAxoFmXIQYIhFlJKO841Ju20lD8JwOtrYdeOPrGrXLmt0w7m/6rIrqxehVZNSqf18 Fz7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WzsyKvTm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id pn7-20020a056214130700b0069b7d811b24si17563644qvb.234.2024.04.25.07.25.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 07:25:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WzsyKvTm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158702-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 120CE1C21FDE for ; Thu, 25 Apr 2024 14:25:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4699F14C596; Thu, 25 Apr 2024 14:21:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WzsyKvTm" 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 6C1F814A60A; Thu, 25 Apr 2024 14:21:13 +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=1714054873; cv=none; b=U1bBJqyGwwpzc+whK/z2vyqHmToB+OdEdAHY0o80wLMO6VKD4GH8V63GEp1RgUc6CH4vJvv4A+/P0pRvZwVCZJlBGJpCcvNpw/xTirRXt+6SaZq5PL7ZyApPVomILSLXD0w7DI4bna/3iMDNw+fdrP/fsFEZlx6iGXjkfQkN9TQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714054873; c=relaxed/simple; bh=v4Zk7cp/J5uIKp7aMsO/8WP6RRDSuoxJeMH6/h7FcWI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AN7kKE9FqnjhwuWI2n4wiZke7ePrA9boDswMhuxLQ5qy1d0FCudtA4bCvckncRwaP28REfiP6WWS7400O7rEkEtX9jL7Ua6+yMLwfnUnRKoDBWaiyhpGwgG4EuJy2huS9z2CY5oOZOCOUJdGGaofURNrdPnAU+ph3vtqJTzHoi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WzsyKvTm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E2B7C113CC; Thu, 25 Apr 2024 14:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714054873; bh=v4Zk7cp/J5uIKp7aMsO/8WP6RRDSuoxJeMH6/h7FcWI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WzsyKvTmHwPQzRlLAIOkKY29XYfiuW/0qDmhR8I4Mabf9LqT3YFvdap7/N2MahDR1 cu1zEjG4WYBnhI+9lZB6DK+immNjkaccNBjPaa7sBioyGFiNL608Y/Val2+iGqVCGv lx6c1ehaupDIloP7UiPjyAYj/91Xa+TIDINqisfIMJZH87KDRHRC357hStg7BdV8dL +M1dhojEpD9+jPTtZU8PhCHiPrAwUm4vV6pDeFqRZ6yDvzo9AMxcVdDDNVlNOTedg2 8Np9c/oh0OAwXKfgMDNkhLfjN1U1YJeF5ik7ZcukktsPAvhsDZdiNfbown3+H3D27F v4R9Hb3TtPC9w== Date: Thu, 25 Apr 2024 11:21:08 -0300 From: Arnaldo Carvalho de Melo To: Howard Chu Cc: peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, kan.liang@linux.intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH] perf record: Fix comment misspellings Message-ID: References: <20240425060427.1800663-1-howardchu95@gmail.com> 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-Disposition: inline In-Reply-To: <20240425060427.1800663-1-howardchu95@gmail.com> On Thu, Apr 25, 2024 at 02:04:27PM +0800, Howard Chu wrote: > Fix comment misspellings Thanks, applied to perf-tools-next, - Arnaldo > Signed-off-by: Howard Chu > --- > tools/lib/perf/mmap.c | 2 +- > tools/perf/builtin-record.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tools/lib/perf/mmap.c b/tools/lib/perf/mmap.c > index 0c903c2372c9..c1a51d925e0e 100644 > --- a/tools/lib/perf/mmap.c > +++ b/tools/lib/perf/mmap.c > @@ -279,7 +279,7 @@ union perf_event *perf_mmap__read_event(struct perf_mmap *map) > if (!refcount_read(&map->refcnt)) > return NULL; > > - /* non-overwirte doesn't pause the ringbuffer */ > + /* non-overwrite doesn't pause the ringbuffer */ > if (!map->overwrite) > map->end = perf_mmap__read_head(map); > > diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c > index 3994adaf4607..34d103f4af57 100644 > --- a/tools/perf/builtin-record.c > +++ b/tools/perf/builtin-record.c > @@ -332,7 +332,7 @@ static int record__aio_complete(struct mmap *md, struct aiocb *cblock) > } else { > /* > * aio write request may require restart with the > - * reminder if the kernel didn't write whole > + * remainder if the kernel didn't write whole > * chunk at once. > */ > rem_off = cblock->aio_offset + written; > @@ -402,7 +402,7 @@ static int record__aio_pushfn(struct mmap *map, void *to, void *buf, size_t size > * > * Coping can be done in two steps in case the chunk of profiling data > * crosses the upper bound of the kernel buffer. In this case we first move > - * part of data from map->start till the upper bound and then the reminder > + * part of data from map->start till the upper bound and then the remainder > * from the beginning of the kernel buffer till the end of the data chunk. > */ > > -- > 2.44.0