summaryrefslogtreecommitdiff
path: root/trace2.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-13 23:50:35 +0900
committerJunio C Hamano <gitster@pobox.com>2019-05-13 23:50:35 +0900
commit49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b (patch)
tree8d790839b59f34c417814aac4babd46429b7e366 /trace2.c
parent40bef4992ea86b79fa80ebd7e6fd19fecdc5879b (diff)
parentc173542c84cdf5e71b393e91f9d9664a85f995b2 (diff)
downloadgit-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.tar.gz
Merge branch 'jh/trace2'
A few embarrassing bugfixes. * jh/trace2: trace2: fix up a missing "leave" entry point trace2: fix incorrect function pointer check
Diffstat (limited to 'trace2.c')
-rw-r--r--trace2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace2.c b/trace2.c
index eb759f3266..c7b4f14d29 100644
--- a/trace2.c
+++ b/trace2.c
@@ -734,7 +734,7 @@ void trace2_data_json_fl(const char *file, int line, const char *category,
us_elapsed_region = tr2tls_region_elasped_self(us_now);
for_each_wanted_builtin (j, tgt_j)
- if (tgt_j->pfn_data_fl)
+ if (tgt_j->pfn_data_json_fl)
tgt_j->pfn_data_json_fl(file, line, us_elapsed_absolute,
us_elapsed_region, category,
repo, key, value);