Skip to content

Commit e1bba8a

Browse files
committed
Merge branch 'jh/trace2' into next
An embarrassing bugfix. * jh/trace2: trace2: fix incorrect function pointer check
2 parents 79b25b1 + 22a7338 commit e1bba8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trace2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ void trace2_data_json_fl(const char *file, int line, const char *category,
734734
us_elapsed_region = tr2tls_region_elasped_self(us_now);
735735

736736
for_each_wanted_builtin (j, tgt_j)
737-
if (tgt_j->pfn_data_fl)
737+
if (tgt_j->pfn_data_json_fl)
738738
tgt_j->pfn_data_json_fl(file, line, us_elapsed_absolute,
739739
us_elapsed_region, category,
740740
repo, key, value);

0 commit comments

Comments
 (0)