├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE_APACHE ├── LICENSE_MIT ├── README.md ├── examples ├── c │ ├── .gitignore │ ├── main.c │ ├── makefile │ └── out.snap ├── hermitc │ ├── .gitignore │ ├── example_trace │ │ ├── 1.dat │ │ ├── example.sym │ │ ├── info │ │ ├── sid-00.map │ │ ├── task.txt │ │ └── trace.json │ ├── main.c │ └── makefile ├── hermitrust │ ├── .cargo │ │ └── config.toml │ ├── .gitignore │ ├── Cargo.toml │ ├── example_trace │ │ ├── 1.dat │ │ ├── 2.dat │ │ ├── 3.dat │ │ ├── 4.dat │ │ ├── 5.dat │ │ ├── info │ │ ├── sid-00.map │ │ ├── task.txt │ │ ├── test.sym │ │ └── trace.json │ ├── makefile │ └── src │ │ └── main.rs └── rust │ ├── .cargo │ └── config.toml │ ├── .gitignore │ ├── Cargo.toml │ ├── out.snap │ └── src │ └── main.rs ├── patches ├── uftrace-use-tsc.patch └── virtiofsd-no-namespacing.patch ├── rftrace-frontend-ffi ├── Cargo.toml ├── README.md ├── cbindgen.toml ├── generate_bindings.sh ├── rftrace_frontend_ffi.h └── src │ └── lib.rs ├── rftrace-frontend ├── Cargo.toml ├── README.md └── src │ ├── frontend.rs │ ├── interface.rs │ └── lib.rs ├── rftrace ├── .gitignore ├── Cargo.toml ├── LICENSE_APACHE ├── LICENSE_MIT ├── README.md ├── build.rs └── src │ ├── backend.rs │ ├── interface.rs │ ├── lib.rs │ └── thread_local.c ├── rust-toolchain.toml ├── rustfmt.toml └── tools ├── create_fake_uftrace.py ├── merge.py ├── poor_mans_profiler_gdb.py ├── poor_mans_profiler_lldb.py └── setup_kvm_tracing.sh /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE_APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/LICENSE_APACHE -------------------------------------------------------------------------------- /LICENSE_MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/LICENSE_MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/README.md -------------------------------------------------------------------------------- /examples/c/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/c/.gitignore -------------------------------------------------------------------------------- /examples/c/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/c/main.c -------------------------------------------------------------------------------- /examples/c/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/c/makefile -------------------------------------------------------------------------------- /examples/c/out.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/c/out.snap -------------------------------------------------------------------------------- /examples/hermitc/.gitignore: -------------------------------------------------------------------------------- 1 | tracedir 2 | out 3 | example -------------------------------------------------------------------------------- /examples/hermitc/example_trace/1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/1.dat -------------------------------------------------------------------------------- /examples/hermitc/example_trace/example.sym: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/example.sym -------------------------------------------------------------------------------- /examples/hermitc/example_trace/info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/info -------------------------------------------------------------------------------- /examples/hermitc/example_trace/sid-00.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/sid-00.map -------------------------------------------------------------------------------- /examples/hermitc/example_trace/task.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/task.txt -------------------------------------------------------------------------------- /examples/hermitc/example_trace/trace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/example_trace/trace.json -------------------------------------------------------------------------------- /examples/hermitc/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/main.c -------------------------------------------------------------------------------- /examples/hermitc/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitc/makefile -------------------------------------------------------------------------------- /examples/hermitrust/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags = ["-Z", "instrument_mcount"] -------------------------------------------------------------------------------- /examples/hermitrust/.gitignore: -------------------------------------------------------------------------------- 1 | tracedir -------------------------------------------------------------------------------- /examples/hermitrust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/Cargo.toml -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/1.dat -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/2.dat -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/3.dat -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/4.dat -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/5.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/5.dat -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/info -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/sid-00.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/sid-00.map -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/task.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/task.txt -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/test.sym: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/test.sym -------------------------------------------------------------------------------- /examples/hermitrust/example_trace/trace.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/example_trace/trace.json -------------------------------------------------------------------------------- /examples/hermitrust/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/makefile -------------------------------------------------------------------------------- /examples/hermitrust/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/hermitrust/src/main.rs -------------------------------------------------------------------------------- /examples/rust/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | rustflags = ["-Z", "instrument_mcount"] -------------------------------------------------------------------------------- /examples/rust/.gitignore: -------------------------------------------------------------------------------- 1 | tracedir -------------------------------------------------------------------------------- /examples/rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/rust/Cargo.toml -------------------------------------------------------------------------------- /examples/rust/out.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/rust/out.snap -------------------------------------------------------------------------------- /examples/rust/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/examples/rust/src/main.rs -------------------------------------------------------------------------------- /patches/uftrace-use-tsc.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/patches/uftrace-use-tsc.patch -------------------------------------------------------------------------------- /patches/virtiofsd-no-namespacing.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/patches/virtiofsd-no-namespacing.patch -------------------------------------------------------------------------------- /rftrace-frontend-ffi/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend-ffi/Cargo.toml -------------------------------------------------------------------------------- /rftrace-frontend-ffi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend-ffi/README.md -------------------------------------------------------------------------------- /rftrace-frontend-ffi/cbindgen.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend-ffi/cbindgen.toml -------------------------------------------------------------------------------- /rftrace-frontend-ffi/generate_bindings.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cbindgen > rftrace_frontend_ffi.h 3 | -------------------------------------------------------------------------------- /rftrace-frontend-ffi/rftrace_frontend_ffi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend-ffi/rftrace_frontend_ffi.h -------------------------------------------------------------------------------- /rftrace-frontend-ffi/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend-ffi/src/lib.rs -------------------------------------------------------------------------------- /rftrace-frontend/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend/Cargo.toml -------------------------------------------------------------------------------- /rftrace-frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend/README.md -------------------------------------------------------------------------------- /rftrace-frontend/src/frontend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend/src/frontend.rs -------------------------------------------------------------------------------- /rftrace-frontend/src/interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend/src/interface.rs -------------------------------------------------------------------------------- /rftrace-frontend/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace-frontend/src/lib.rs -------------------------------------------------------------------------------- /rftrace/.gitignore: -------------------------------------------------------------------------------- 1 | staticlib/Cargo.toml -------------------------------------------------------------------------------- /rftrace/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/Cargo.toml -------------------------------------------------------------------------------- /rftrace/LICENSE_APACHE: -------------------------------------------------------------------------------- 1 | ../LICENSE_APACHE -------------------------------------------------------------------------------- /rftrace/LICENSE_MIT: -------------------------------------------------------------------------------- 1 | ../LICENSE_MIT -------------------------------------------------------------------------------- /rftrace/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /rftrace/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/build.rs -------------------------------------------------------------------------------- /rftrace/src/backend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/src/backend.rs -------------------------------------------------------------------------------- /rftrace/src/interface.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/src/interface.rs -------------------------------------------------------------------------------- /rftrace/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/src/lib.rs -------------------------------------------------------------------------------- /rftrace/src/thread_local.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rftrace/src/thread_local.c -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /tools/create_fake_uftrace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/tools/create_fake_uftrace.py -------------------------------------------------------------------------------- /tools/merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/tools/merge.py -------------------------------------------------------------------------------- /tools/poor_mans_profiler_gdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/tools/poor_mans_profiler_gdb.py -------------------------------------------------------------------------------- /tools/poor_mans_profiler_lldb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/tools/poor_mans_profiler_lldb.py -------------------------------------------------------------------------------- /tools/setup_kvm_tracing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hermit-os/rftrace/HEAD/tools/setup_kvm_tracing.sh --------------------------------------------------------------------------------