Skip to contentSkip to conversation

linux-next: Fixes tag needs some work in the perf-current tree

DISCUSSION Stephen Rothwell 4 participants 4 messages Sep 1, 2024 – Sep 3, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commit

387ad33e5410 ("perf test pmu: Set uninitialized PMU alias to null")

Fixes tag

Fixes 3e0bf9 ("perf pmu: Restore full PMU name wildcard support")

has these problem(s):

- Target SHA1 does not exist

Actually, the quoted SHA1 is too short and is ambiguous in my tree:

$ git show 3e0bf9
error: short object ID 3e0bf9 is ambiguous
hint: The candidates are:
hint:   3e0bf9fde298 commit 2024-06-26 - perf pmu: Restore full PMU name wildcard support
hint:   3e0bf93e0354 tree
fatal: ambiguous argument '3e0bf9': unknown revision or path not in the working tree.

so you should use

Fixes 3e0bf9fde298 ("perf pmu: Restore full PMU name wildcard support")
Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 9 lines · Stephen Rothwell

Hi all,

In commit

387ad33e5410 ("perf test pmu: Set uninitialized PMU alias to null")

Fixes tag

Fixes 3e0bf9 ("perf pmu: Restore full PMU name wildcard support")

In the perf-tools-next I have it as:

commit 37e2a19c98bf99747ca997be876dfc13f9165e0a

Author: Veronika Molnarova <[email protected]>
Date:   Thu Aug 8 12:37:49 2024 +0200

perf test pmu: Set uninitialized PMU alias to null

Commit 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support") adds a test case "PMU cmdline match" that covers PMU name wildcard support provided by function perf_pmu__match().
<SNIP>

Fixes 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support")
Cc James Clark <[email protected]>
Cc Michael Petlan <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Radostin Stoyanov <[email protected]>

As I have:

⬢[acme@toolbox perf-tools-next]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools-next]$

And scripts to make sure we get enough resolution to avoid such problems

I just checked and yeah, on perf-tools/perf-tools it is:

So I suggest Namhyung fixes up the Fixes tag to have a longer prefix for the sha and Veronica to run:

⬢[acme@toolbox perf-tools]$ git config core.abbrev 16 ⬢[acme@toolbox perf-tools]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools]$

- Arnaldo

Quoted 20 lines

has these problem(s):

- Target SHA1 does not exist

Actually, the quoted SHA1 is too short and is ambiguous in my tree:

$ git show 3e0bf9
error: short object ID 3e0bf9 is ambiguous
hint: The candidates are:
hint:   3e0bf9fde298 commit 2024-06-26 - perf pmu: Restore full PMU name wildcard support
hint:   3e0bf93e0354 tree
fatal: ambiguous argument '3e0bf9': unknown revision or path not in the working tree.

so you should use

Fixes 3e0bf9fde298 ("perf pmu: Restore full PMU name wildcard support")
Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 24 lines · Arnaldo Carvalho de Melo
Quoted 9 lines · Stephen Rothwell

Hi all,

In commit

387ad33e5410 ("perf test pmu: Set uninitialized PMU alias to null")

Fixes tag

Fixes 3e0bf9 ("perf pmu: Restore full PMU name wildcard support")

In the perf-tools-next I have it as:

commit 37e2a19c98bf99747ca997be876dfc13f9165e0a

Author: Veronika Molnarova <[email protected]>
Date:   Thu Aug 8 12:37:49 2024 +0200

perf test pmu: Set uninitialized PMU alias to null

Commit 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support") adds a test case "PMU cmdline match" that covers PMU name wildcard support provided by function perf_pmu__match().
<SNIP>

Quoted 8 lines
Fixes 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support")
Cc James Clark <[email protected]>
Cc Michael Petlan <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Radostin Stoyanov <[email protected]>

Ok, you only updated perf-tools-next. I thought you did it on perf-tools too. I'll update perf-tools soon.

Quoted 8 lines

As I have:

⬢[acme@toolbox perf-tools-next]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools-next]$

And scripts to make sure we get enough resolution to avoid such problems

Sure, will do.

Quoted 11 lines

I just checked and yeah, on perf-tools/perf-tools it is:

Quoted 7 lines

So I suggest Namhyung fixes up the Fixes tag to have a longer prefix for the sha and Veronica to run:

⬢[acme@toolbox perf-tools]$ git config core.abbrev 16 ⬢[acme@toolbox perf-tools]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools]$

Yep, thanks!
Namhyung

Quoted 23 lines
Quoted 21 lines

has these problem(s):

- Target SHA1 does not exist

Actually, the quoted SHA1 is too short and is ambiguous in my tree:

$ git show 3e0bf9
error: short object ID 3e0bf9 is ambiguous
hint: The candidates are:
hint:   3e0bf9fde298 commit 2024-06-26 - perf pmu: Restore full PMU name wildcard support
hint:   3e0bf93e0354 tree
fatal: ambiguous argument '3e0bf9': unknown revision or path not in the working tree.

so you should use

Fixes 3e0bf9fde298 ("perf pmu: Restore full PMU name wildcard support")

--
Cheers,
Stephen Rothwell

#3 lore raw
In reply to Arnaldo Carvalho de Melo
Quoted 53 lines · Arnaldo Carvalho de Melo
Quoted 9 lines · Stephen Rothwell

Hi all,

In commit

387ad33e5410 ("perf test pmu: Set uninitialized PMU alias to null")

Fixes tag

Fixes 3e0bf9 ("perf pmu: Restore full PMU name wildcard support")

In the perf-tools-next I have it as:

commit 37e2a19c98bf99747ca997be876dfc13f9165e0a

Author: Veronika Molnarova <[email protected]>
Date:   Thu Aug 8 12:37:49 2024 +0200

perf test pmu: Set uninitialized PMU alias to null

Commit 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support") adds a test case "PMU cmdline match" that covers PMU name wildcard support provided by function perf_pmu__match().
<SNIP>

Fixes 3e0bf9fde2984469 ("perf pmu: Restore full PMU name wildcard support")
Cc James Clark <[email protected]>
Cc Michael Petlan <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Radostin Stoyanov <[email protected]>

As I have:

⬢[acme@toolbox perf-tools-next]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools-next]$

And scripts to make sure we get enough resolution to avoid such problems

I just checked and yeah, on perf-tools/perf-tools it is:

So I suggest Namhyung fixes up the Fixes tag to have a longer prefix for the sha and Veronica to run:

Quoted 7 lines

⬢[acme@toolbox perf-tools]$ git config core.abbrev 16 ⬢[acme@toolbox perf-tools]$ git config core.abbrev 16
⬢[acme@toolbox perf-tools]$

- Arnaldo

Sure, will do.

Sorry for the inconvenience.
Thanks,
Veronika

Quoted 23 lines
Quoted 21 lines

has these problem(s):

- Target SHA1 does not exist

Actually, the quoted SHA1 is too short and is ambiguous in my tree:

$ git show 3e0bf9
error: short object ID 3e0bf9 is ambiguous
hint: The candidates are:
hint:   3e0bf9fde298 commit 2024-06-26 - perf pmu: Restore full PMU name wildcard support
hint:   3e0bf93e0354 tree
fatal: ambiguous argument '3e0bf9': unknown revision or path not in the working tree.

so you should use

Fixes 3e0bf9fde298 ("perf pmu: Restore full PMU name wildcard support")
Signature · 2 lines
Cheers,
Stephen Rothwell