--- Copy from Lua Sumneko Lua
--- @meta jit.profile
--- @version JIT
local profile =
--- @param mode string
--- @param func fun(L: thread, samples: integer, vmst: string)
--- @overload fun(th: thread, fmt: string, depth: integer)
--- @param fmt string
--- @param depth integer
return profile