Skip to content

Commit

Permalink
Remove unused record, update README, update version to 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Jan 26, 2024
1 parent f403851 commit 9a78c21
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
[![Hex Docs](https://img.shields.io/badge/hex-docs-yellow.svg)](https://hexdocs.pm/erlang_doctor/)
[![GitHub Actions](https://github.com/chrzaszcz/erlang_doctor/actions/workflows/test.yml/badge.svg)](https://github.com/chrzaszcz/erlang_doctor/actions)

Lightweight tracing, debugging and profiling tool, that collects traces from your system in an ETS table, putting minimal impact on the system.
Lightweight tracing, debugging and profiling tool, which collects traces in an ETS table, putting minimal impact on your system.
After collecting the traces, you can query and analyse them.
By separating data collection from analysis, this tool helps you limit unnecessary repetition and guesswork.
There is [ExDoctor](https://hex.pm/packages/ex_doctor) for Elixir as well.

## Quick start

Expand Down
4 changes: 1 addition & 3 deletions include/tr.hrl
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
-record(msg, {to :: pid(), exists :: boolean()}).

-record(tr, {index :: tr:index(),
pid :: pid(),
event :: call | return | exception | send | recv,
mfa = no_mfa :: mfa() | no_mfa,
data :: term(),
ts :: integer(),
info = no_info :: #msg{} | no_info}).
info = no_info :: tr:recipient() | no_info}).

-record(node, {module :: module(),
function :: atom(),
Expand Down
2 changes: 1 addition & 1 deletion src/erlang_doctor.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, erlang_doctor,
[{description, "Lightweight tracing, debugging and profiling utility for Erlang"},
{vsn, "0.2.4"},
{vsn, "0.2.5"},
{registered, []},
{mod, { erlang_doctor_app, []}},
{applications,
Expand Down
2 changes: 1 addition & 1 deletion src/tr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
-type tree_item() :: {acc_time(), call_tree_count(), tree()}.
%% Function call tree with its accumulated time and number of repetitions.

-export_type([tr/0, index/0]).
-export_type([tr/0, index/0, recipient/0]).

%% API - capturing, data manipulation

Expand Down

0 comments on commit 9a78c21

Please sign in to comment.