fix sign of delta of release_memory tracer event (#16)

This commit is contained in:
Marten Seemann 2022-04-10 19:17:13 +01:00 committed by GitHub
parent 7352c8b2e7
commit 6e6735caf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,7 +261,7 @@ func (t *trace) ReleaseMemory(scope string, size, mem int64) {
t.push(traceEvt{
Type: traceReleaseMemoryEvt,
Scope: scope,
Delta: -size,
Delta: size,
Memory: mem,
})
}