From 8119e5d366d78e1029bd7f13b98924b8d4bbcc63 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 20 Mar 2018 16:10:53 +0100 Subject: [PATCH] Remove references to the profiler, -jv, -jdump, and the like RaptorJIT prefers to always write telemetry to an audit log, and allow rich analysis of this log with external tools. --- doc/changes.html | 2 - doc/contact.html | 2 - doc/ext_c_api.html | 2 - doc/ext_ffi.html | 2 - doc/ext_ffi_api.html | 2 - doc/ext_ffi_semantics.html | 5 +- doc/ext_ffi_tutorial.html | 2 - doc/ext_jit.html | 13 -- doc/ext_profiler.html | 365 ------------------------------------- doc/extensions.html | 7 - doc/faq.html | 2 - doc/install.html | 2 - doc/luajit.html | 2 - doc/running.html | 25 +-- doc/status.html | 2 - etc/luajit.1 | 4 - 16 files changed, 4 insertions(+), 435 deletions(-) delete mode 100644 doc/ext_profiler.html diff --git a/doc/changes.html b/doc/changes.html index 426b18f783..44e03293c3 100644 --- a/doc/changes.html +++ b/doc/changes.html @@ -44,8 +44,6 @@

LuaJIT Change History

jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/contact.html b/doc/contact.html index fe4751c0ea..5e07bded58 100644 --- a/doc/contact.html +++ b/doc/contact.html @@ -41,8 +41,6 @@

    Contact

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/ext_c_api.html b/doc/ext_c_api.html index ad462c63e5..041a722009 100644 --- a/doc/ext_c_api.html +++ b/doc/ext_c_api.html @@ -41,8 +41,6 @@

    Lua/C API Extensions

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/ext_ffi.html b/doc/ext_ffi.html index 5e1daaf54b..d48d77fae3 100644 --- a/doc/ext_ffi.html +++ b/doc/ext_ffi.html @@ -41,8 +41,6 @@

    FFI Library

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/ext_ffi_api.html b/doc/ext_ffi_api.html index 91af2e1d43..5cedcf0e7e 100644 --- a/doc/ext_ffi_api.html +++ b/doc/ext_ffi_api.html @@ -46,8 +46,6 @@

    ffi.* API Functions

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/ext_ffi_semantics.html b/doc/ext_ffi_semantics.html index 268ac104f5..f7480be0dd 100644 --- a/doc/ext_ffi_semantics.html +++ b/doc/ext_ffi_semantics.html @@ -46,8 +46,6 @@

    FFI Semantics

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status @@ -1215,8 +1213,7 @@

    Current Status

    The JIT compiler already handles a large subset of all FFI operations. It automatically falls back to the interpreter for unimplemented -operations (you can check for this with the --jv command line option). +operations. The following operations are currently not compiled and may exhibit suboptimal performance, especially when used in inner loops:

    diff --git a/doc/ext_ffi_tutorial.html b/doc/ext_ffi_tutorial.html index 3650066440..29cf549e2c 100644 --- a/doc/ext_ffi_tutorial.html +++ b/doc/ext_ffi_tutorial.html @@ -48,8 +48,6 @@

    FFI Tutorial

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/ext_jit.html b/doc/ext_jit.html index e4088bcbd2..0b0924a896 100644 --- a/doc/ext_jit.html +++ b/doc/ext_jit.html @@ -41,8 +41,6 @@

    jit.* Library

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status @@ -176,17 +174,6 @@

    jit.opt.* — JIT compiler optimization control -

    jit.util.* — JIT compiler introspection

    -

    -This sub-module holds functions to introspect the bytecode, generated -traces, the IR and the generated machine code. The functionality -provided by this module is still in flux and therefore undocumented. -

    -

    -The debug modules -jbc, -jv and -jdump make -extensive use of these functions. Please check out their source code, -if you want to know more. -


  • Lua/C API -
  • -Profiler
  • Status @@ -151,11 +149,6 @@

    C API extensions

    extra functions to the Lua/C API.

    -

    Profiler

    -

    -LuaJIT has an integrated profiler. -

    -

    Enhanced Standard Library Functions

    xpcall(f, err [,args...]) passes arguments

    diff --git a/doc/faq.html b/doc/faq.html index 2c930743dd..afeff940c4 100644 --- a/doc/faq.html +++ b/doc/faq.html @@ -44,8 +44,6 @@

    Frequently Asked Questions (FAQ)

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/install.html b/doc/install.html index 851f910afa..97c5f27925 100644 --- a/doc/install.html +++ b/doc/install.html @@ -69,8 +69,6 @@

    Installation

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/luajit.html b/doc/luajit.html index ef5b824c1b..7202f73f2b 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -126,8 +126,6 @@

    LuaJIT

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/doc/running.html b/doc/running.html index 64f0491647..eb43075a4d 100644 --- a/doc/running.html +++ b/doc/running.html @@ -63,8 +63,6 @@

    Running LuaJIT

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status @@ -162,14 +160,10 @@

    -b[options] input output

    # Link test.obj with your application and load it with require("test") -

    -j cmd[=arg[,arg...]]

    +

    -j cmd

    -This option performs a LuaJIT control command or activates one of the -loadable extension modules. The command is first looked up in the -jit.* library. If no matching function is found, a module -named jit.<cmd> is loaded and the start() -function of the module is called with the specified arguments (if -any). The space between -j and cmd is optional. +This option performs a LuaJIT control command from the jit.* +library.

    Here are the available LuaJIT control commands: @@ -178,20 +172,7 @@

    -j cmd[=arg[,arg...]]

  • -jon — Turns the JIT compiler on (default).
  • -joff — Turns the JIT compiler off (only use the interpreter).
  • -jflush — Flushes the whole cache of compiled code.
  • -
  • -jv — Shows verbose information about the progress of the JIT compiler.
  • -
  • -jdump — Dumps the code and structures used in various compiler stages.
  • -
  • -jp — Start the integrated profiler.
  • -

    -The -jv and -jdump commands are extension modules -written in Lua. They are mainly used for debugging the JIT compiler -itself. For a description of their options and output format, please -read the comment block at the start of their source. -They can be found in the lib directory of the source -distribution or installed under the jit directory. By default -this is /usr/local/share/luajit-2.0.4/jit on POSIX -systems. -

    -O[level]
    -O[+]flag   -O-flag
    diff --git a/doc/status.html b/doc/status.html index cad6ca6546..6619ebb7db 100644 --- a/doc/status.html +++ b/doc/status.html @@ -44,8 +44,6 @@

    Status

    jit.* Library
  • Lua/C API -
  • -Profiler
  • Status diff --git a/etc/luajit.1 b/etc/luajit.1 index 0d263db79f..09e57e78cf 100644 --- a/etc/luajit.1 +++ b/etc/luajit.1 @@ -68,10 +68,6 @@ luajit \-e "local x=0; for i=1,1e9 do x=x+i end; print(x)" Calculates the sum of the numbers from 1 to 1000000000. .br And finishes in a reasonable amount of time, too. -.TP -luajit \-jv \-e "for i=1,10 do for j=1,10 do for k=1,100 do end end end" - -Runs some nested loops and shows the resulting traces. .SH COPYRIGHT .PP \fBLuaJIT\fR is Copyright \(co 2005-2017 Mike Pall.