Skip to content

tools: fixes tprof not stopping tracing - #11481

Open
kikofernandez wants to merge 2 commits into
erlang:maint-27from
kikofernandez:kiko/tools/fix-tprof-not-stopping-tracing/OTP-20302
Open

tools: fixes tprof not stopping tracing#11481
kikofernandez wants to merge 2 commits into
erlang:maint-27from
kikofernandez:kiko/tools/fix-tprof-not-stopping-tracing/OTP-20302

Conversation

@kikofernandez

@kikofernandez kikofernandez commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

A call to tprof:enable_trace(new|existing) starts tracing processes.
To stop it, one calls tprof:disable_trace(new|existing). However, the guard to stop tracing was matching on new_processes | existing_processes.
The return happens to say 0 processes are traced now, but the tracing did not stop.

A call to `tprof:enable_trace(new|existing)` starts tracing processes.
To stop it, one calls `tprof:disable_trace(new|existing)`. However, the
guard to stop tracing was matching on `new_processes |
existing_processes`. The return happens to say `0` processes are traced
now, but the tracing did not stop.
@kikofernandez kikofernandez self-assigned this Aug 13, 2026
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

  2 files   22 suites   7m 12s ⏱️
226 tests 223 ✅ 3 💤 0 ❌
252 runs  249 ✅ 3 💤 0 ❌

Results for commit de91799.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@kikofernandez
kikofernandez changed the base branch from maint to maint-27 August 13, 2026 13:26
garazdawi
garazdawi previously approved these changes Aug 13, 2026

@garazdawi garazdawi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testcase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants