aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2023-03-27 20:22:51 +0200
committerChristian Brauner <[email protected]>2023-04-03 11:16:56 +0200
commit6ae930d9dbf2d093157be33428538c91966d8a9f (patch)
treea89117e5612341376fc147f26b9715c47013d27d /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent197b6b60ae7bc51dd0814953c562833143b292aa (diff)
pid: add pidfd_prepare()
Add a new helper that allows to reserve a pidfd and allocates a new pidfd file that stashes the provided struct pid. This will allow us to remove places that either open code this function or that call pidfd_create() but then have to call close_fd() because there are still failure points after pidfd_create() has been called. Reviewed-by: Jan Kara <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions