Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
trace2: fix incorrect function pointer check
author
Josh Steadmon
<steadmon@google.com>
Thu, 25 Apr 2019 17:08:53 +0000
(10:08 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 26 Apr 2019 02:44:00 +0000
(11:44 +0900)
Fix trace2_data_json_fl() to check for the presence of pfn_data_json_fl
in its targets, rather than pfn_data_fl, which is not actually called.
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trace2.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
a446f2d
)
diff --git
a/trace2.c
b/trace2.c
index ccccd4ef0919eebe1eff5834df3016778b0459d1..590e5542c54f70145913740ca6d508b401780841 100644
(file)
--- a/
trace2.c
+++ b/
trace2.c
@@
-710,7
+710,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);