summaryrefslogtreecommitdiff
path: root/client/profile.lua
diff options
context:
space:
mode:
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