summaryrefslogtreecommitdiff
path: root/client/profile.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
committerubq323 <ubq323@ubq323.website>2023-06-18 22:28:37 +0100
commitf55c9f415a081a175e48b51db894f23e59ce47a2 (patch)
treeee63f98d5c4f1a2a11e9800ced9c2861eb3085a7 /client/profile.lua
parent598bd4332deddd5f4c506689cbd136f495835ea7 (diff)
fix line lengths
Diffstat (limited to 'client/profile.lua')
-rw-r--r--client/profile.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/profile.lua b/client/profile.lua
index 47a9806..5ed5b2a 100644
--- a/client/profile.lua
+++ b/client/profile.lua
@@ -1,7 +1,10 @@
local profile = require"jit.profile"
local function start(period,file)
local function cb(thread,samples,vmstate)
- file:write(profile.dumpstack(thread,"pF;l;",-100), vmstate, " ", samples, "\n")
+ file:write(
+ profile.dumpstack(thread,"pF;l;",-100),
+ vmstate, " ", samples, "\n"
+ )
end
profile.start("vli"..tonumber(period), cb)
end