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

Re: [PATCH v2 0/6] trace2: add macOS and Windows process ancestry tracing

From
Derrick Stolee <stolee@gmail.com>
Date
Feb 14, 2026, 00:30 UTC
Message-ID
<85375ced-a62b-4f1c-a1c8-4fc4ed09102d@gmail.com>
In-Reply-To
<pull.2040.v2.git.1771012500.gitgitgadget@gmail.com>
On 2/13/26 2:54 PM, Matthew John Cheetham via GitGitGadget wrote:
Show 20 quoted lines
> Updates in v2
> =============
> 
>   * On macOS do not filter out PPID 1 or 0, to match what the Linux
>     implementation does.
>     
>     Stopping before PID 1 and 0 means we do not emit the launchd init process
>     on macOS. The Linux implementation does not do this, nor does the Windows
>     implementation.
> 
>   * Add t0213-trace2-ancestry tests and extend the trace2 test helper.
>     
>     The tests use the "400ancestry" test helper to spawn child processes with
>     controlled trace2 environments. Verify that the process ancestry is being
>     correctly captured on platforms that support cmd_ancestry.
> 
>   * Drop USE_THE_REPOSITORY_VARIABLE macro as it was not required.
> 
>   * Updated commit messages to use more standard format to refer to existing
>     commits.

I took a look at the chnages and the new test code. Everything satisfies my concerns from v1.

Thanks, -Stole

Previous: Matthew John Cheetham via GitGitGadget
Message 25 of 25 in “trace2: add macOS and Windows process ancestry tracing”
  1. 0/4 trace2: add macOS and Windows process ancestry tracingMatthew John Cheetham via GitGitGadget, Feb 5, 2026
  2. 2/4 build: include procinfo.c impl for macOSMatthew John Cheetham via GitGitGadget, Feb 5, 2026
  3. Derrick StoleeFeb 9, 2026
  4. 1/4 trace2: add macOS process ancestry tracingMatthew John Cheetham via GitGitGadget, Feb 5, 2026
  5. Derrick StoleeFeb 9, 2026
  6. Matthew John CheethamFeb 9, 2026
  7. Derrick StoleeFeb 10, 2026
  8. 3/4 trace2: refactor Windows process ancestry trace2 eventMatthew John Cheetham via GitGitGadget, Feb 5, 2026
  9. Derrick StoleeFeb 9, 2026
  10. 4/4 trace2: emit cmd_ancestry data for WindowsMatthew John Cheetham via GitGitGadget, Feb 5, 2026
  11. Kristoffer HaugsbakkFeb 5, 2026
  12. Derrick StoleeFeb 9, 2026
  13. Derrick StoleeFeb 9, 2026
  14. Junio C HamanoFeb 9, 2026
  15. 0/6 trace2: add macOS and Windows process ancestry tracingMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  16. 1/6 trace2: add macOS process ancestry tracingMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  17. 2/6 build: include procinfo.c impl for macOSMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  18. Junio C HamanoFeb 13, 2026
  19. 3/6 trace2: refactor Windows process ancestry trace2 eventMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  20. Junio C HamanoFeb 13, 2026
  21. 4/6 trace2: emit cmd_ancestry data for WindowsMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  22. Junio C HamanoFeb 13, 2026
  23. 5/6 test-tool: extend trace2 helper with 400ancestryMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  24. 6/6 t0213: add trace2 cmd_ancestry testsMatthew John Cheetham via GitGitGadget, Feb 13, 2026
  25. Derrick StoleeFeb 14, 2026

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.