File 0681-fix-instrument-carriers-spec.patch of Package erlang (Revision bd65a3afb3086958f197928ca3edd54e)
Currently displaying revision bd65a3afb3086958f197928ca3edd54e , Show latest
xxxxxxxxxx
1
From 1712cd1db7fc2750bc0dd9c5a86950c86796e621 Mon Sep 17 00:00:00 2001
2
From: Zeyu Zhang <zeyu@fb.com>
3
Date: Tue, 28 Feb 2023 12:06:21 -0800
4
Subject: [PATCH] fix instrument:carriers spec
5
6
---
7
lib/runtime_tools/src/instrument.erl | 6 +++---
8
1 file changed, 3 insertions(+), 3 deletions(-)
9
10
diff --git a/lib/tools/src/instrument.erl b/lib/tools/src/instrument.erl
11
index 6b2de541ec..625faea334 100644
12
--- a/lib/tools/src/instrument.erl
13
+++ b/lib/tools/src/instrument.erl
14
15
InPool :: boolean(),
16
TotalSize :: non_neg_integer(),
17
UnscannedSize :: non_neg_integer(),
18
- Allocations :: {Type :: atom(),
19
- Count :: non_neg_integer(),
20
- Size :: non_neg_integer()},
21
+ Allocations :: [{Type :: atom(),
22
+ Count :: non_neg_integer(),
23
+ Size :: non_neg_integer()}],
24
FreeBlocks :: block_histogram()}]}.
25
26
-spec carriers() -> {ok, Result} | {error, Reason} when
27
--
28
2.35.3
29
30