trace2: fix up a missing "leave" entry point
commitc173542c84cdf5e71b393e91f9d9664a85f995b2
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 10 May 2019 13:37:38 +0000 (10 15:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 May 2019 14:14:09 +0000 (10 23:14 +0900)
tree25957231b39cdc177a95ac745aa3eb5b49077965
parent22a7338318e3709b578d5c041af0afaf95b8fe21
trace2: fix up a missing "leave" entry point

Fix a trivial bug that's been here since the shared/do_write_index
tracing was added in 42fee7a388 ("trace2:data: add trace2
instrumentation to index read/write", 2019-02-22). We should have
enter/leave points, not two enter/enter points. This resulted in an
"enter" event without a corresponding "leave" event.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c