Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
1221-erts-Cuddle-trace_call_time_SUITE.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1221-erts-Cuddle-trace_call_time_SUITE.patch of Package erlang
From 800e15acd332bd6c09ac482f5e08ef436e3dcd78 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Wed, 8 Mar 2023 15:21:24 +0100 Subject: [PATCH 1/2] erts: Cuddle trace_call_time_SUITE Disable call_memory tracing between each test case. It was left on which affected the timing and caused the 'bif' test case to sometimes fail with 'time_error'. --- erts/emulator/test/trace_call_time_SUITE.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erts/emulator/test/trace_call_time_SUITE.erl b/erts/emulator/test/trace_call_time_SUITE.erl index 5aebc10564..124f0e2283 100644 --- a/erts/emulator/test/trace_call_time_SUITE.erl +++ b/erts/emulator/test/trace_call_time_SUITE.erl @@ -71,13 +71,15 @@ bif/1, nif/1]). init_per_testcase(_Case, Config) -> - erlang:trace_pattern({'_','_','_'}, false, [local,meta,call_time,call_count]), + erlang:trace_pattern({'_','_','_'}, false, + [local,meta,call_time,call_count,call_memory]), erlang:trace_pattern(on_load, false, [local,meta,call_time,call_count]), timer:now_diff(now(),now()), Config. end_per_testcase(_Case, _Config) -> - erlang:trace_pattern({'_','_','_'}, false, [local,meta,call_time,call_count]), + erlang:trace_pattern({'_','_','_'}, false, + [local,meta,call_time,call_count,call_memory]), erlang:trace_pattern(on_load, false, [local,meta,call_time,call_count]), erlang:trace(all, false, [all]), ok. -- 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