Thread (2 messages) read the whole thread 2 messages, 2 authors, 2021-05-24

Re: [PATCH v2] tr2: log parent process name

From: Junio C Hamano <hidden>
Date: 2021-05-21 23:22:51

Emily Shaffer [off-list ref] writes:
quoted
quoted
we will need to discover the name another way. However, the process ID
should be sufficient regardless of platform.
Not a strong objection, but I wonder if seeing random integer(s) is
better than not having cmd_ancestry info at all.  The latter better
signals that the platform does not yet have the "parent process
name" feature, I would think.
Hm, we could...
Please don't.  There is a misreading here.

You mentioned "However, the process ID should be sufficient" and I
read it as "In the worst case we can emit the process ID if we do
not know how to turn it into name", and to that I said "showing
process IDs is not all that useful as they are random integers
without extra info on processes that were running back when the log
entry was taken".  Similarly, my later "OK, we do not show pid as a
placeholder." is "Contrary to what I thought you said earlier, you
do not give raw process IDs and instead honestly say we do not have
that information by omitting the record.  I am happy to see what the
actual patch does".

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help