change: add profiler cmd tool (#2)

* change: remove download vmlinux and tools

* change: add wget to download vmlinux

* profiler: add Makefile and gitignore

* profiler: add lua_state define header from luajit

Add LuaJIT common internal definitions for profiler to get BTF format.
The data struct is copied from luajit 5.1 and modified.

* profiler: add eBPF program to get lua stack trace

* profiler: add lua stacks map to handle stack info

* profiler: add stack printer to export info

* profiler: add cmd entry

* fix: various compile issues

* feat: add max frame depth as an option
17 files changed
tree: a722c4f65c6e8ecb55cc5c0d1d7b689ca0a4c0e4
  1. helpers/
  2. profiler/
  3. .asf.yaml
  4. .gitignore
  5. .gitmodules
  6. README.md
README.md

apisix-profiler