From 2216c64fa56209aade835c7d3b3c362230db7793 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 May 2024 16:42:00 -0300 Subject: [PATCH] Add changelog --- Changelog.md | 7 +++++++ README.md | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 Changelog.md diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..c69d33d --- /dev/null +++ b/Changelog.md @@ -0,0 +1,7 @@ + +0.5.2 + - Add trace_pid (Thanks to @felstead https://github.com/nico-abram/blondie/pull/67) + - Filter empty callstacks from the generated output (They crashed inferno in an underflow in debug mode) + +0.4.2 + - Resolve relative PDB paths (Implemented by @Systemcluster https://github.com/nico-abram/blondie/pull/66) diff --git a/README.md b/README.md index eea7b6f..b59128b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ The `blondie_dtrace` binary can be used as a dtrace replacement in [cargo-flameg Examples: - ./blondie.exe ./target/debug/some_binary_with_debuginfo.exe arg1 arg2 ; ./flamegraph.svg + ./blondie.exe flamegraph ./target/debug/some_binary_with_debuginfo.exe arg1 arg2 + ./flamegraph.svg cargo build --release --bin blondie_dtrace $ENV:DTRACE = "current_dir/target/release/blondie_dtrace.exe" # Or set DTRACE="current_dir/target/release/blondie_dtrace.exe" in cmd.exe @@ -29,7 +30,7 @@ This is built using the [ETW(Event Tracing for Windows)](https://docs.microsoft. # Future work? - Test on windows 7 and probably fix the things that don't work. -- Make it possible to trace a pre-existing pid instead of requiring a command to launch. +- ~~Make it possible to trace a pre-existing pid instead of requiring a command to launch.~~ (Thanks to @felstead for implementing this!) - Use ETW filters to only receive events for the target process (We currently filter ourselves and discard events from other processes). See https://docs.microsoft.com/en-us/windows/win32/api/evntrace/nf-evntrace-starttracea https://docs.microsoft.com/en-us/windows/win32/api/evntrace/ns-evntrace-event_trace_properties_v2 https://docs.microsoft.com/en-us/windows/win32/api/evntprov/ns-evntprov-event_filter_descriptor specifically EVENT_FILTER_TYPE_PID (note: Does not work on Win7 via StartTrace, would need to use EnableTraceEx2 if we care about Win7) - Write a general ETW rust library.