Skip to content

Commit 8e12d23

Browse files
committed
Add mem tracer allocator convenience function
1 parent 4c1b410 commit 8e12d23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LibAwsCommon.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ function default_aws_allocator()
6262
end
6363
end
6464

65+
mem_trace_allocator(allocator=default_aws_allocator(), mem_trace_level=AWS_MEMTRACE_STACKS, frames_per_stack=8) = aws_mem_tracer_new(allocator, C_NULL, mem_trace_level, frames_per_stack)
66+
6567
export default_aws_allocator, set_default_aws_allocator!
6668

6769
function init(allocator=default_aws_allocator())

0 commit comments

Comments
 (0)