diff options
Diffstat (limited to 'tex/context/base/data-ini.lua')
-rw-r--r-- | tex/context/base/data-ini.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/data-ini.lua b/tex/context/base/data-ini.lua index 773490785..a952a29bd 100644 --- a/tex/context/base/data-ini.lua +++ b/tex/context/base/data-ini.lua @@ -227,9 +227,11 @@ resolvers.settrace(osgetenv("MTX_INPUT_TRACE")) -- todo: --- if profiler and osgetenv("MTX_PROFILE_RUN") == "YES" then --- profiler.start("luatex-profile.log") --- end +if profiler then + directives.register("system.profile",function() + profiler.start("luatex-profile.log") + end) +end -- a forward definition |