aboutsummaryrefslogtreecommitdiff
path: root/trace2/tr2_ctr.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-16 14:06:31 -0700
committerJunio C Hamano <gitster@pobox.com>2024-09-16 14:06:31 -0700
commite8a0c243f92ea39c939af1d9bdc4ff40fe89fb57 (patch)
treeef3c66aa05e4b4b4191177df90fed24f6cb1130f /trace2/tr2_ctr.c
parentd29fc595c811b515e5991ae283cd46c420a0995b (diff)
parent18695250667912d8278e76dce453706c3d488173 (diff)
downloadgit-e8a0c243f92ea39c939af1d9bdc4ff40fe89fb57.tar.xz
Merge branch 'ps/reftable-exclude' into ps/reftable-alloc-failures
* ps/reftable-exclude: refs/reftable: wire up support for exclude patterns reftable/reader: make table iterator reseekable t/unit-tests: introduce reftable library Makefile: stop listing test library objects twice builtin/receive-pack: fix exclude patterns when announcing refs refs: properly apply exclude patterns to namespaced refs
Diffstat (limited to 'trace2/tr2_ctr.c')
-rw-r--r--trace2/tr2_ctr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/trace2/tr2_ctr.c b/trace2/tr2_ctr.c
index d3a33715c1..036b643578 100644
--- a/trace2/tr2_ctr.c
+++ b/trace2/tr2_ctr.c
@@ -31,6 +31,11 @@ static struct tr2_counter_metadata tr2_counter_metadata[TRACE2_NUMBER_OF_COUNTER
.name = "jumps_made",
.want_per_thread_events = 0,
},
+ [TRACE2_COUNTER_ID_REFTABLE_RESEEKS] = {
+ .category = "reftable",
+ .name = "reseeks_made",
+ .want_per_thread_events = 0,
+ },
[TRACE2_COUNTER_ID_FSYNC_WRITEOUT_ONLY] = {
.category = "fsync",
.name = "writeout-only",