diff options
author | Christian Brauner <[email protected]> | 2021-10-11 15:32:44 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2021-10-14 13:29:18 +0200 |
commit | e9bdcdbf6936dd1fbf419e00222dc9038b7812c2 (patch) | |
tree | 1eabd32a68976f36fb256ad3c4b9723412adcea8 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff) |
pid: add pidfd_get_task() helper
The number of system calls making use of pidfds is constantly
increasing. Some of those new system calls duplicate the code to turn a
pidfd into task_struct it refers to. Give them a simple helper for this.
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Cc: Vlastimil Babka <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Matthew Bobrowski <[email protected]>
Cc: Alexander Duyck <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Minchan Kim <[email protected]>
Reviewed-by: Matthew Bobrowski <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions