From 7d9c80f62673e03b3455b46cf364cfe509f75c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Fri, 27 Aug 2021 10:02:13 +0200 Subject: tr2: remove NEEDSWORK comment for "non-procfs" implementations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Acked-by: Taylor Blau Signed-off-by: Junio C Hamano --- compat/linux/procinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'compat') 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) -- cgit v1.2.3