Go to file
Félix Baylac Jacqué 51fda99905 Tracing: trace primops 2024-02-07 19:52:35 +01:00
.github build(deps): bump zeebe-io/backport-action from 2.4.0 to 2.4.1 2024-01-29 22:14:10 +00:00
config Run autoupdate 2021-06-01 11:42:38 +02:00
contrib function-trace: always show the trace 2019-09-18 23:23:21 +02:00
dep-patches Move dependency patches from top level into subdir 2024-01-17 13:13:54 -05:00
doc catch multiple use of link reference (#9937) 2024-02-04 21:45:10 +00:00
m4 Add configure test to ensure GCC bug is fixed 2023-10-31 12:09:46 -04:00
maintainers maintainers/release-notes: Include changelog-d 2024-01-29 17:13:48 +01:00
misc Remove custom lowdown 2023-12-13 16:25:18 -05:00
mk Build Windows DLLs with `-Wl,--export-all-symbols` 2024-01-11 23:34:37 -05:00
perl Signer infrastructure: Prep for #9076 2024-01-03 16:13:55 -05:00
scripts installer: allow overriding of NIX_FIRST_BUILD_ID on darwin 2023-12-18 15:02:26 -08:00
src Tracing: trace primops 2024-02-07 19:52:35 +01:00
tests CanonPath, SourcePath: Change operator + to / 2024-02-05 15:17:39 +01:00
.clang-format Add clang format configuration 2024-01-08 19:46:38 +01:00
.clang-tidy Add .clang-tidy 2024-02-01 01:01:39 +01:00
.dir-locals.el .dir-locals.el: Set c-block-comment-prefix 2020-07-10 11:21:06 +02:00
.editorconfig `.editorconfig`: Also affect Perl FFI `xs` file 2023-11-09 23:11:52 -05:00
.gitignore gitignore: add result-* 2024-01-09 18:36:09 +07:00
.gitmodules Tracy Build system setup 2024-02-06 15:18:00 +01:00
.version Bump version 2024-01-29 22:57:25 +01:00
CONTRIBUTING.md Merge pull request #9182 from fricklerhandwerk/popular-issues 2023-10-19 16:25:36 -04:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
Makefile Build Windows DLLs with `-Wl,--export-all-symbols` 2024-01-11 23:34:37 -05:00
Makefile.config.in Simplify RapidCheck configure 2024-01-15 08:05:05 -05:00
README.md TOREMOVE: readme 2024-02-06 14:08:49 +01:00
configure.ac Link both gmock and gtest, not just gtest 2024-01-24 10:10:42 -05:00
default.nix add flake-compat to flake.nix and use sha256 in default.nix 2023-03-06 21:11:24 +01:00
docker.nix fix "add an option to include flake-registry..." 2023-05-16 14:35:31 +02:00
flake.lock flake.lock: Update 2024-01-15 08:04:46 -05:00
flake.nix maintainers/release-notes: Include changelog-d 2024-01-29 17:13:48 +01:00
local.mk Use positive source filtering for the standalone functional tests job 2023-10-09 08:29:27 -04:00
package.nix maintainers/release-notes: Include changelog-d 2024-01-29 17:13:48 +01:00
precompiled-headers.h Config: Use nlohmann/json 2020-08-20 11:02:16 +02:00
shell.nix Remove url literals 2022-01-24 13:28:21 +01:00

README.md

Nix Profiled With Tracy

Profiling Idea

TODO: explain

  • Tracing thunk force operations.
  • Eval is single-threaded and recursive: easy to build stack frames out of global eval state.
  • Profiling infos are streamed to tracy server in that prototype.
  • In previous iterations, we tried:
    • keep the profile in memory and save it to memory in a previous iteration. See andir's version for code/more infos.
    • eBPF approach using USDTs (through bcc). We kept over-running the kernel/userspace ring buffer. See here for more infos/code.

TODOs

  • Add config flag to enable tracing.
  • Remove tracy submodule approach, inject it through Nix.