Affected by GO-2025-4261
and 2 other vulnerabilities
GO-2025-4261 : Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea
GO-2026-6080 : Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag in go-gitea/gitea
GO-2026-6433 : Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev
Discover Packages
code.gitea.io/gitea
modules
pprof
package
Version:
v1.26.4
Opens a new window with list of versions in this module.
Published: Jun 21, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func DumpCPUProfileForUsername(pprofDataPath, username string ) (func(), error )
DumpCPUProfileForUsername dumps a CPU profile at pprofDataPath as cpuprofile_<username>_<temporary id>
the stop function it returns stops, writes and closes the CPU profile file
func DumpMemProfileForUsername(pprofDataPath, username string ) error
DumpMemProfileForUsername dumps a memory profile at pprofDataPath as memprofile_<username>_<temporary id>
Source Files
¶
Click to show internal directories.
Click to hide internal directories.