diff options
author | Eric W. Biederman <[email protected]> | 2020-06-24 16:34:57 -0500 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2020-07-04 09:33:40 -0500 |
commit | 5fec25f2cb959cb5f189d7f6127bee3efc782530 (patch) | |
tree | 32bd4073caaf2c279e0d97e1e3dce5084ebc8a7f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
umh: Capture the pid in umh_pipe_setup
The pid in struct subprocess_info is only used by umh_clean_and_save_pid to
write the pid into umh_info.
Instead always capture the pid on struct umh_info in umh_pipe_setup, removing
code that is specific to user mode drivers from the common user path of
user mode helpers.
v1: https://lkml.kernel.org/r/[email protected]
v2: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Tested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions