git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] trace2: fix a comment

From
Beat Bolli <dev+git@drbeat.li>
Date
Jul 19, 2023, 23:24 UTC
Message-ID
<20230719232444.555838-1-dev+git@drbeat.li>

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>
---
 trace2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trace2.h b/trace2.h
index f5c5a9e6bac5..64c747c1df1b 100644
--- a/trace2.h
+++ b/trace2.h
@@ -541,7 +541,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 {
 	/*
-- 
2.41.0
Next: Beat Bolli
Message 1 of 9 in “trace2: fix a comment”
  1. 1/2 trace2: fix a commentBeat Bolli, Jul 19, 2023
  2. 2/2 wrapper: use trace2 counters to collect fsync statsBeat Bolli, Jul 19, 2023
  3. Junio C HamanoJul 20, 2023
  4. 2/2 wrapper: use trace2 counters to collect fsync statsBeat Bolli, Jul 20, 2023
  5. Junio C HamanoJul 20, 2023
  6. Junio C HamanoJul 25, 2023
  7. Beat BolliJul 25, 2023
  8. Jeff HostetlerAug 7, 2023
  9. Jeff HostetlerAug 7, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.