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

Re: [PATCH] t0213: skip ancestry tests under user-mode emulation

From
WYWeijie Yuan <wy@wyuan.org>
Date
Jul 21, 2026, 18:06 UTC
Message-ID
<al-1JkcH91aW6VWM@wyuan.org>
In-Reply-To
<pull.2168.git.1783359242130.gitgitgadget@gmail.com>
On Mon, Jul 06, 2026 at 05:34:01PM +0000, Jamie Magee via GitGitGadget wrote:
Show 16 quoted lines
> From: Jamie Magee <jamie.magee@gmail.com>
> 
> The tests added in 3c8c638df6 (t0213: add trace2 cmd_ancestry tests,
> 2026-02-13) expect the cmd_ancestry event to name "test-tool" and
> "git". On Linux those names come from the "comm" field of
> /proc/<pid>/stat. Under user-mode emulation (e.g. qemu-user) /proc
> reports the emulator ("qemu-riscv64") instead, so the event is still
> emitted, the TRACE2_ANCESTRY probe enables the tests, and tests 2-5
> fail even though they pass on native riscv64.
> 
> Require the probe to see "test-tool" in the ancestry of a test-tool
> spawned from test-tool, so the tests skip when the names are unreliable.
> 
> Cc: Matthew John Cheetham <mjcheetham@outlook.com>
> Signed-off-by: Jamie Magee <jamie.magee@gmail.com>
> ---
Very sorry to say something completely outside the patch.

But may I ask what's the point of writting the line started with "Cc:"? I know that Linux kernel has something about writting Cc in the commit message, while I don't see much from Git's documentation about trailers, including MyFirstContribution and SubmittingPatches. Although I know that "git send-email" and "git interpret-trailers" could use "Cc:", I still wonder whether using this trailer is encouraged or not. If so, adding some decriptions about it would be nice, I guess, since I was confused when reading kernel docs about using Cc trailers in the commit message sometime ago.

Sorry in advance if I missed any context.
Thanks very much.
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “t0213: skip ancestry tests under user-mode emulation”
  1. t0213: skip ancestry tests under user-mode emulationJamie Magee via GitGitGadget, Jul 6, 2026
  2. Junio C HamanoJul 7, 2026
  3. Junio C HamanoJul 21, 2026
  4. Weijie YuanJul 21, 2026
  5. Junio C HamanoJul 21, 2026
  6. Weijie YuanJul 22, 2026
  7. Junio C HamanoAug 3, 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.