* [PATCH] perf tools: Fix typos Muliplier -> Multiplier
@ 2024-11-08 13:47 Andrew Kreimer
2024-11-11 6:17 ` Adrian Hunter
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Kreimer @ 2024-11-08 13:47 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
Ian Rogers, Adrian Hunter, Liang Kan
Cc: linux-perf-users, linux-kernel, kernel-janitors, Andrew Kreimer
There are some typos in fprintf messages.
Fix them via codespell.
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
tools/perf/util/intel-bts.c | 2 +-
tools/perf/util/intel-pt.c | 2 +-
tools/perf/util/tsc.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/perf/util/intel-bts.c b/tools/perf/util/intel-bts.c
index 3ea82d5e8d2e..a7c589fecb98 100644
--- a/tools/perf/util/intel-bts.c
+++ b/tools/perf/util/intel-bts.c
@@ -808,7 +808,7 @@ static int intel_bts_synth_events(struct intel_bts *bts,
static const char * const intel_bts_info_fmts[] = {
[INTEL_BTS_PMU_TYPE] = " PMU Type %"PRId64"\n",
[INTEL_BTS_TIME_SHIFT] = " Time Shift %"PRIu64"\n",
- [INTEL_BTS_TIME_MULT] = " Time Muliplier %"PRIu64"\n",
+ [INTEL_BTS_TIME_MULT] = " Time Multiplier %"PRIu64"\n",
[INTEL_BTS_TIME_ZERO] = " Time Zero %"PRIu64"\n",
[INTEL_BTS_CAP_USER_TIME_ZERO] = " Cap Time Zero %"PRId64"\n",
[INTEL_BTS_SNAPSHOT_MODE] = " Snapshot mode %"PRId64"\n",
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index 3fe67bf652b6..30be6dfe09eb 100644
--- a/tools/perf/util/intel-pt.c
+++ b/tools/perf/util/intel-pt.c
@@ -4110,7 +4110,7 @@ static int intel_pt_parse_vm_tm_corr_args(struct intel_pt *pt)
static const char * const intel_pt_info_fmts[] = {
[INTEL_PT_PMU_TYPE] = " PMU Type %"PRId64"\n",
[INTEL_PT_TIME_SHIFT] = " Time Shift %"PRIu64"\n",
- [INTEL_PT_TIME_MULT] = " Time Muliplier %"PRIu64"\n",
+ [INTEL_PT_TIME_MULT] = " Time Multiplier %"PRIu64"\n",
[INTEL_PT_TIME_ZERO] = " Time Zero %"PRIu64"\n",
[INTEL_PT_CAP_USER_TIME_ZERO] = " Cap Time Zero %"PRId64"\n",
[INTEL_PT_TSC_BIT] = " TSC bit %#"PRIx64"\n",
diff --git a/tools/perf/util/tsc.c b/tools/perf/util/tsc.c
index 2e33a20e1e1b..511a517ce613 100644
--- a/tools/perf/util/tsc.c
+++ b/tools/perf/util/tsc.c
@@ -119,7 +119,7 @@ size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp)
size_t ret;
ret = fprintf(fp, "\n... Time Shift %" PRI_lu64 "\n", tc->time_shift);
- ret += fprintf(fp, "... Time Muliplier %" PRI_lu64 "\n", tc->time_mult);
+ ret += fprintf(fp, "... Time Multiplier %" PRI_lu64 "\n", tc->time_mult);
ret += fprintf(fp, "... Time Zero %" PRI_lu64 "\n", tc->time_zero);
/*
--
2.47.0.245.gfacbe4f633
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] perf tools: Fix typos Muliplier -> Multiplier
2024-11-08 13:47 [PATCH] perf tools: Fix typos Muliplier -> Multiplier Andrew Kreimer
@ 2024-11-11 6:17 ` Adrian Hunter
2024-11-11 17:29 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Hunter @ 2024-11-11 6:17 UTC (permalink / raw)
To: Andrew Kreimer, Peter Zijlstra, Ingo Molnar,
Arnaldo Carvalho de Melo, Namhyung Kim, Mark Rutland,
Alexander Shishkin, Jiri Olsa, Ian Rogers, Liang Kan
Cc: linux-perf-users, linux-kernel, kernel-janitors
On 8/11/24 15:47, Andrew Kreimer wrote:
> There are some typos in fprintf messages.
> Fix them via codespell.
>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> tools/perf/util/intel-bts.c | 2 +-
> tools/perf/util/intel-pt.c | 2 +-
> tools/perf/util/tsc.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/util/intel-bts.c b/tools/perf/util/intel-bts.c
> index 3ea82d5e8d2e..a7c589fecb98 100644
> --- a/tools/perf/util/intel-bts.c
> +++ b/tools/perf/util/intel-bts.c
> @@ -808,7 +808,7 @@ static int intel_bts_synth_events(struct intel_bts *bts,
> static const char * const intel_bts_info_fmts[] = {
> [INTEL_BTS_PMU_TYPE] = " PMU Type %"PRId64"\n",
> [INTEL_BTS_TIME_SHIFT] = " Time Shift %"PRIu64"\n",
> - [INTEL_BTS_TIME_MULT] = " Time Muliplier %"PRIu64"\n",
> + [INTEL_BTS_TIME_MULT] = " Time Multiplier %"PRIu64"\n",
> [INTEL_BTS_TIME_ZERO] = " Time Zero %"PRIu64"\n",
> [INTEL_BTS_CAP_USER_TIME_ZERO] = " Cap Time Zero %"PRId64"\n",
> [INTEL_BTS_SNAPSHOT_MODE] = " Snapshot mode %"PRId64"\n",
> diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
> index 3fe67bf652b6..30be6dfe09eb 100644
> --- a/tools/perf/util/intel-pt.c
> +++ b/tools/perf/util/intel-pt.c
> @@ -4110,7 +4110,7 @@ static int intel_pt_parse_vm_tm_corr_args(struct intel_pt *pt)
> static const char * const intel_pt_info_fmts[] = {
> [INTEL_PT_PMU_TYPE] = " PMU Type %"PRId64"\n",
> [INTEL_PT_TIME_SHIFT] = " Time Shift %"PRIu64"\n",
> - [INTEL_PT_TIME_MULT] = " Time Muliplier %"PRIu64"\n",
> + [INTEL_PT_TIME_MULT] = " Time Multiplier %"PRIu64"\n",
> [INTEL_PT_TIME_ZERO] = " Time Zero %"PRIu64"\n",
> [INTEL_PT_CAP_USER_TIME_ZERO] = " Cap Time Zero %"PRId64"\n",
> [INTEL_PT_TSC_BIT] = " TSC bit %#"PRIx64"\n",
> diff --git a/tools/perf/util/tsc.c b/tools/perf/util/tsc.c
> index 2e33a20e1e1b..511a517ce613 100644
> --- a/tools/perf/util/tsc.c
> +++ b/tools/perf/util/tsc.c
> @@ -119,7 +119,7 @@ size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp)
> size_t ret;
>
> ret = fprintf(fp, "\n... Time Shift %" PRI_lu64 "\n", tc->time_shift);
> - ret += fprintf(fp, "... Time Muliplier %" PRI_lu64 "\n", tc->time_mult);
> + ret += fprintf(fp, "... Time Multiplier %" PRI_lu64 "\n", tc->time_mult);
> ret += fprintf(fp, "... Time Zero %" PRI_lu64 "\n", tc->time_zero);
>
> /*
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] perf tools: Fix typos Muliplier -> Multiplier
2024-11-11 6:17 ` Adrian Hunter
@ 2024-11-11 17:29 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-11-11 17:29 UTC (permalink / raw)
To: Adrian Hunter
Cc: Andrew Kreimer, Peter Zijlstra, Ingo Molnar, Namhyung Kim,
Mark Rutland, Alexander Shishkin, Jiri Olsa, Ian Rogers,
Liang Kan, linux-perf-users, linux-kernel, kernel-janitors
On Mon, Nov 11, 2024 at 08:17:29AM +0200, Adrian Hunter wrote:
> On 8/11/24 15:47, Andrew Kreimer wrote:
> > There are some typos in fprintf messages.
> > Fix them via codespell.
> > Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Thanks, applied to perf-tools-next,
- Arnaldo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-11 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 13:47 [PATCH] perf tools: Fix typos Muliplier -> Multiplier Andrew Kreimer
2024-11-11 6:17 ` Adrian Hunter
2024-11-11 17:29 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).