From 45460e1f87d57a68dea10540cfdef45d03e7b043 Mon Sep 17 00:00:00 2001 From: nancylucy01 Date: Fri, 5 Aug 2022 19:38:39 +0000 Subject: [PATCH] Fix per call label (#30515) --- tools/profiling/memory/memory_diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiling/memory/memory_diff.py b/tools/profiling/memory/memory_diff.py index 72031af2417..2f0473f24d7 100755 --- a/tools/profiling/memory/memory_diff.py +++ b/tools/profiling/memory/memory_diff.py @@ -122,7 +122,7 @@ else: text += '{}: {}\n'.format(key, cur[key]) else: text += '{}: {} -> {}\n'.format(key, old[key], cur[key]) - if key == 'call/client' or 'call/server': + if 'call' in key: call_diff_size += cur[key] - old[key] else: channel_diff_size += cur[key] - old[key]