Deprecate broken and unused debug flags in favor of --pprof (#15083)

* deprecating the trace and cpuprofile flags in favor of pprof

* gaz

* fixing change log title

* added hidden tags
This commit is contained in:
james-prysm
2025-03-24 14:30:32 -05:00
committed by GitHub
parent 2b4d8a09ff
commit e08ed0d823
9 changed files with 20 additions and 46 deletions

View File

@@ -211,6 +211,8 @@ var appHelpFlagGroups = []flagGroup{
Name: "deprecated",
Flags: []cli.Flag{
cmd.BackupWebhookOutputDir,
debug.CPUProfileFlag,
debug.TraceFlag,
},
},
{ // Flags used in debugging Prysm. These are flags not usually run by end users.
@@ -218,13 +220,11 @@ var appHelpFlagGroups = []flagGroup{
Flags: []cli.Flag{
cmd.MaxGoroutines,
debug.BlockProfileRateFlag,
debug.CPUProfileFlag,
debug.MemProfileRateFlag,
debug.MutexProfileFractionFlag,
debug.PProfAddrFlag,
debug.PProfFlag,
debug.PProfPortFlag,
debug.TraceFlag,
flags.SetGCPercent,
},
},