<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/trace2, branch v2.22.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.22.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.22.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-05-30T17:50:45Z</updated>
<entry>
<title>Merge branch 'sg/trace2-rename'</title>
<updated>2019-05-30T17:50:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-05-30T17:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=463dca6476be5f4998f8a836cd8141f58e1b42ee'/>
<id>urn:sha1:463dca6476be5f4998f8a836cd8141f58e1b42ee</id>
<content type='text'>
Rename environment variables that are used to control the "trace2"
mechanism to a more readable name.

* sg/trace2-rename:
  trace2: document the supported values of GIT_TRACE2* env variables
  trace2: rename environment variables to GIT_TRACE2*
</content>
</entry>
<entry>
<title>Merge branch 'jh/trace2'</title>
<updated>2019-05-30T17:50:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-05-30T17:50:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=90f2d88e61e9e66d9813353cc0910598ebf8cb03'/>
<id>urn:sha1:90f2d88e61e9e66d9813353cc0910598ebf8cb03</id>
<content type='text'>
* jh/trace2:
  trace2: fix tracing when NO_PTHREADS is defined
</content>
</entry>
<entry>
<title>trace2: fix tracing when NO_PTHREADS is defined</title>
<updated>2019-05-28T17:52:34Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2019-05-21T19:33:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fdae9d3be45ce17e22b5f7a742cae3dfe687516'/>
<id>urn:sha1:5fdae9d3be45ce17e22b5f7a742cae3dfe687516</id>
<content type='text'>
Teach trace2 TLS code to not rely on pthread_getspecific() when NO_PTHREADS
is defined.  Instead, always assume the context data of the main thread.

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace2: rename environment variables to GIT_TRACE2*</title>
<updated>2019-05-28T17:20:34Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder.dev@gmail.com</email>
</author>
<published>2019-05-19T14:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e4b75d6a1d3105958c307e526ae6759e86f7f837'/>
<id>urn:sha1:e4b75d6a1d3105958c307e526ae6759e86f7f837</id>
<content type='text'>
For an environment variable that is supposed to be set by users, the
GIT_TR2* env vars are just too unclear, inconsistent, and ugly.

Most of the established GIT_* environment variables don't use
abbreviations, and in case of the few that do (GIT_DIR,
GIT_COMMON_DIR, GIT_DIFF_OPTS) it's quite obvious what the
abbreviations (DIR and OPTS) stand for.  But what does TR stand for?
Track, traditional, trailer, transaction, transfer, transformation,
transition, translation, transplant, transport, traversal, tree,
trigger, truncate, trust, or ...?!

The trace2 facility, as the '2' suffix in its name suggests, is
supposed to eventually supercede Git's original trace facility.  It's
reasonable to expect that the corresponding environment variables
follow suit, and after the original GIT_TRACE variables they are
called GIT_TRACE2; there is no such thing is 'GIT_TR'.

All trace2-specific config variables are, very sensibly, in the
'trace2' section, not in 'tr2'.

OTOH, we don't gain anything at all by omitting the last three
characters of "trace" from the names of these environment variables.

So let's rename all GIT_TR2* environment variables to GIT_TRACE2*,
before they make their way into a stable release.

Signed-off-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jh/trace2-sid-fix'</title>
<updated>2019-05-13T14:50:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-05-13T14:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5b2d1c0c6eceb5fd6c9527bc2863179644dce840'/>
<id>urn:sha1:5b2d1c0c6eceb5fd6c9527bc2863179644dce840</id>
<content type='text'>
Polishing of the new trace2 facility continues.  The system-level
configuration can specify site-wide trace2 settings, which can be
overridden with per-user configuration and environment variables.

* jh/trace2-sid-fix:
  trace2: fixup access problem on /etc/gitconfig in read_very_early_config
  trace2: update docs to describe system/global config settings
  trace2: make SIDs more unique
  trace2: clarify UTC datetime formatting
  trace2: report peak memory usage of the process
  trace2: use system/global config for default trace2 settings
  config: add read_very_early_config()
  trace2: find exec-dir before trace2 initialization
  trace2: add absolute elapsed time to start event
  trace2: refactor setting process starting time
  config: initialize opts structure in repo_read_config()
</content>
</entry>
<entry>
<title>Merge branch 'js/trace2-to-directory'</title>
<updated>2019-05-08T15:37:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-05-08T15:37:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b403146616286e017d4fc1dfcbb056d56200655'/>
<id>urn:sha1:1b403146616286e017d4fc1dfcbb056d56200655</id>
<content type='text'>
The trace2 tracing facility learned to auto-generate a filename
when told to log to a directory.

* js/trace2-to-directory:
  trace2: write to directory targets
</content>
</entry>
<entry>
<title>trace2: make SIDs more unique</title>
<updated>2019-04-16T04:37:07Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2019-04-15T20:39:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08881b9a4c841b77bc2a4a17510ee33b98070b9e'/>
<id>urn:sha1:08881b9a4c841b77bc2a4a17510ee33b98070b9e</id>
<content type='text'>
Update SID component construction to use the current UTC datetime
and a portion of the SHA1 of the hostname.

Use an simplified date/time format to make it easier to use the
SID component as a logfile filename.

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace2: clarify UTC datetime formatting</title>
<updated>2019-04-16T04:37:07Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2019-04-15T20:39:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bad229aef232256f3fb6e8ed9c09e26ff654399c'/>
<id>urn:sha1:bad229aef232256f3fb6e8ed9c09e26ff654399c</id>
<content type='text'>
Update tr2_tbuf_utc_datetime to generate extended UTC format.
Update tr2_tgt_event target to use extended format in 'time' columns.

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace2: use system/global config for default trace2 settings</title>
<updated>2019-04-16T04:37:06Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2019-04-15T20:39:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bce9db6de97c95882a7c46836bb6cc90acf0fef0'/>
<id>urn:sha1:bce9db6de97c95882a7c46836bb6cc90acf0fef0</id>
<content type='text'>
Teach git to read the system and global config files for
default Trace2 settings.  This allows system-wide Trace2 settings to
be installed and inherited to make it easier to manage a collection of
systems.

The original GIT_TR2* environment variables are loaded afterwards and
can be used to override the system settings.

Only the system and global config files are used.  Repo and worktree
local config files are ignored.  Likewise, the "-c" command line
arguments are also ignored.  These limits are for performance reasons.

(1) For users not using Trace2, there should be minimal overhead to
detect that Trace2 is not enabled.  In particular, Trace2 should not
allocate lots of otherwise unused data strucutres.

(2) For accurate performance measurements, Trace2 should be initialized
as early in the git process as possible, and before most of the normal
git process initialization (which involves discovering the .git directory
and reading a hierarchy of config files).

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>trace2: add absolute elapsed time to start event</title>
<updated>2019-04-16T04:37:06Z</updated>
<author>
<name>Jeff Hostetler</name>
<email>jeffhost@microsoft.com</email>
</author>
<published>2019-04-15T20:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=39f43177442d44d8a945c3ff6a8c08f481539763'/>
<id>urn:sha1:39f43177442d44d8a945c3ff6a8c08f481539763</id>
<content type='text'>
Add elapsed process time to "start" event to measure
the performance of early process startup.

Signed-off-by: Jeff Hostetler &lt;jeffhost@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
