summaryrefslogtreecommitdiffstats
path: root/trace2.c
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-10-24 15:41:01 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-24 21:45:25 +0200
commit5bbb9251378b0e62bb06e72bda0574e06dee4933 (patch)
treedf3f4f2db69c371ea0af9f6f34c094022cce93cf /trace2.c
parenttrace2: use size_t alloc,nr_open_regions in tr2tls_thread_ctx (diff)
downloadgit-5bbb9251378b0e62bb06e72bda0574e06dee4933.tar.xz
git-5bbb9251378b0e62bb06e72bda0574e06dee4933.zip
tr2tls: clarify TLS terminology
Reduce or eliminate use of the term "TLS" in the Trace2 code. The term "TLS" has two popular meanings: "thread-local storage" and "transport layer security". In the Trace2 source, the term is associated with the former. There was concern on the mailing list about it refering to the latter. Update the source and documentation to eliminate the use of the "TLS" term or replace it with the phrase "thread-local storage" to reduce ambiguity. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace2.c')
-rw-r--r--trace2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace2.c b/trace2.c
index 0c0a11e07d..c1244e45ac 100644
--- a/trace2.c
+++ b/trace2.c
@@ -52,7 +52,7 @@ static struct tr2_tgt *tr2_tgt_builtins[] =
* Force (rather than lazily) initialize any of the requested
* builtin TRACE2 targets at startup (and before we've seen an
* actual TRACE2 event call) so we can see if we need to setup
- * the TR2 and TLS machinery.
+ * private data structures and thread-local storage.
*
* Return the number of builtin targets enabled.
*/