]> git.ipfire.org Git - thirdparty/git.git/commitdiff
trace2: fix a comment
authorBeat Bolli <dev+git@drbeat.li>
Wed, 19 Jul 2023 23:24:43 +0000 (01:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jul 2023 00:02:16 +0000 (17:02 -0700)
When the trace2 counter mechanism was added in 81071626ba (trace2: add
global counter mechanism, 2022-10-24), the name of the file where new
counters are added was misspelled in a comment.

Use the correct file name.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
trace2.h

index 4ced30c0db368b640fbaba439ad50049ba9041df..85f1b866b695989c9423bd8759bccf4d47ef8513 100644 (file)
--- a/trace2.h
+++ b/trace2.h
@@ -540,7 +540,7 @@ void trace2_timer_stop(enum trace2_timer_id tid);
  * elsewhere as array indexes).
  *
  * Any values added to this enum be also be added to the
- * `tr2_counter_metadata[]` in `trace2/tr2_tr2_ctr.c`.
+ * `tr2_counter_metadata[]` in `trace2/tr2_ctr.c`.
  */
 enum trace2_counter_id {
        /*