Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
8034-tprof-Skip-just-unloaded-modules.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 8034-tprof-Skip-just-unloaded-modules.patch of Package erlang
From 6d02b67e2ee725cc91d18c271262e976d6f3effa Mon Sep 17 00:00:00 2001 From: Maxim Fedorov <maximfca@gmail.com> Date: Tue, 4 Jun 2024 20:08:19 -0700 Subject: [PATCH] [tprof] Skip just unloaded modules --- lib/tools/src/tprof.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tools/src/tprof.erl b/lib/tools/src/tprof.erl index 6faac50223..7b9fa8e238 100644 --- a/lib/tools/src/tprof.erl +++ b/lib/tools/src/tprof.erl @@ -1037,6 +1037,7 @@ collect_trace(Session, Mod, FunList, Acc, Type) -> %% statistics won't be correct anyway. Hence the warning in the user %% guide, guarding against hot code reload while tracing. combine_trace({_, false}) -> fail; +combine_trace({_, undefined}) -> skip; %% module unloaded after code:all_loaded() combine_trace({call_count, 0}) -> skip; combine_trace({call_count, Num}) -> [{all, Num, Num}]; combine_trace({call_time, Times}) -> -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor