summaryrefslogtreecommitdiffstats
path: root/trace2.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-05-13 16:50:35 +0200
committerJunio C Hamano <gitster@pobox.com>2019-05-13 16:50:35 +0200
commit49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b (patch)
tree8d790839b59f34c417814aac4babd46429b7e366 /trace2.c
parentMerge branch 'cc/access-on-aix-workaround' (diff)
parenttrace2: fix up a missing "leave" entry point (diff)
downloadgit-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.tar.xz
git-49bc8ce539b24fc8dccf92bf0e23d184a8d07d4b.zip
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);