Skip to content

Commit 7d9c80f

Browse files
avargitster
authored andcommitted
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 2f732bf (tr2: log parent process name, 2021-07-21), it's setting us up for an impossible task. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Acked-by: Taylor Blau <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e0a2f5c commit 7d9c80f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compat/linux/procinfo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ static void get_ancestry_names(struct strvec *names)
2525
}
2626

2727
return;
28-
/* NEEDSWORK: add non-procfs-linux implementations here */
2928
}
3029

3130
void trace2_collect_process_info(enum trace2_process_info_reason reason)

0 commit comments

Comments
 (0)