Skip to content

Commit

Permalink
Add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed May 2, 2024
1 parent 24f97bb commit 2216c64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -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)
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

Expand Down

0 comments on commit 2216c64

Please sign in to comment.