]> granicus.if.org Git - git/commit
trace2: fix up a missing "leave" entry point
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 10 May 2019 13:37:38 +0000 (15:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 06:14:34 +0000 (15:14 +0900)
commit7fef4e3e78bfd103282452b8714b359c8a9ab3bb
tree41b2697f44bc703ef4f99cfcaf324192d2bda33a
parent42fee7a3889b558aa8b79dfa2802d8fd8fbd8c60
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