Skip to content

Commit 26f8841

Browse files
committed
memprof: remove unused arguments
Both `humanize.profile_info` and `process.form_heap_delta` don't need the symtab, so the argument can be dropped. Part of tarantool/tarantool#5994
1 parent 3dee112 commit 26f8841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/memprof.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ local function dump(inputfile)
102102
local symbols = symtab.parse(reader)
103103
local events = memprof.parse(reader, symbols)
104104
if not leak_only then
105-
view.profile_info(events, symbols)
105+
view.profile_info(events)
106106
end
107-
local dheap = process.form_heap_delta(events, symbols)
107+
local dheap = process.form_heap_delta(events)
108108
view.leak_info(dheap)
109109
view.aliases(symbols)
110110
-- XXX: The second argument is required to properly close Lua

0 commit comments

Comments
 (0)