diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-09-25 10:37:11 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-25 10:37:11 -0700 |
| commit | 52f57e94bd1cc32eef1b02b941250720017f0b34 (patch) | |
| tree | 4eaa98c07974cea893774a65d5c7ee4fe7217525 /trace2/tr2_ctr.c | |
| parent | c639478d794c4d3065d1ef6e98b87c7e74a6823b (diff) | |
| parent | 18695250667912d8278e76dce453706c3d488173 (diff) | |
| download | git-52f57e94bd1cc32eef1b02b941250720017f0b34.tar.gz | |
Merge branch 'ps/reftable-exclude'
The reftable backend learned to more efficiently handle exclude
patterns while enumerating the refs.
* 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.c | 5 |
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", |
