]> Kevux Git Server - rit/commit
trace2: emit cmd_ancestry data for Windows
authorMatthew John Cheetham <mjcheetham@outlook.com>
Fri, 13 Feb 2026 19:54:58 +0000 (19:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Feb 2026 20:18:31 +0000 (12:18 -0800)
commitd7301487a38766109589b02309dac1be6490fa95
treea67dd8e027aeaf666d57725c92363772209091bd
parentc2a473b2b1b3b79e308a7cbed1eee46fb67aacd8
trace2: emit cmd_ancestry data for Windows

Since 2f732bf15e (tr2: log parent process name, 2021-07-21) it is now
now possible to emit a specific process ancestry event in TRACE2. We
should emit the Windows process ancestry data with the correct event
type.

To not break existing consumers of the data_json "windows/ancestry"
event, we continue to emit the ancestry data as a JSON event.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/win32/trace2_win32_process_info.c