summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-08-27 10:02:13 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-07 11:07:59 -0700
commit7d9c80f62673e03b3455b46cf364cfe509f75c6f (patch)
tree916dbee112cab604fed4d49faf9051c7ab07b7e5 /compat
parentThe third batch (diff)
downloadtgif-7d9c80f62673e03b3455b46cf364cfe509f75c6f.tar.xz
tr2: remove NEEDSWORK comment for "non-procfs" implementations
I'm fairly sure that there is no way on Linux to inspect the process tree without using procfs, any tool such as ps(1), top(1) etc. that shows this sort of information ultimately looks the information up in procfs. So let's remove this comment added in 2f732bf15e6 (tr2: log parent process name, 2021-07-21), it's setting us up for an impossible task. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/linux/procinfo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compat/linux/procinfo.c b/compat/linux/procinfo.c
index 578fed4cd3..15a89676c7 100644
--- a/compat/linux/procinfo.c
+++ b/compat/linux/procinfo.c
@@ -25,7 +25,6 @@ static void get_ancestry_names(struct strvec *names)
}
return;
- /* NEEDSWORK: add non-procfs-linux implementations here */
}
void trace2_collect_process_info(enum trace2_process_info_reason reason)