Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
8035-tools-Remove-demand-of-unicode-support-for...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 8035-tools-Remove-demand-of-unicode-support-for-tprof-for.patch of Package erlang
From 81254184f0f3e8a6508c65f68f9e049dcf9c6958 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Wed, 16 Oct 2024 18:43:22 +0200 Subject: [PATCH] tools: Remove demand of unicode support for tprof:format/2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: The tprof:format(IoDevice, ...) would fail if IoDevice did not support unicode encoding. Solution: Replace unicode character "μ" with an ASCII "u". --- lib/tools/src/tprof.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/src/tprof.erl b/lib/tools/src/tprof.erl index 7c0e33d3de..84980c5d80 100644 --- a/lib/tools/src/tprof.erl +++ b/lib/tools/src/tprof.erl @@ -1137,7 +1137,7 @@ format_each(Device, call_count, _Total, Inspected) -> [format_out(Device, Fmt, Line) || Line <- lists:reverse(Lines)], format_out(Device, Fmt, [" ", " ", "100.0"]); format_each(Device, call_time, Total, Inspected) -> - format_labelled(Device, "TIME (μs)", Total, Inspected); + format_labelled(Device, "TIME (us)", Total, Inspected); format_each(Device, call_memory, Total, Inspected) -> format_labelled(Device, "WORDS", Total, Inspected). -- 2.43.0
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