diff options
author | Christian Brauner <[email protected]> | 2021-10-11 15:32:45 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2021-10-14 13:29:22 +0200 |
commit | ee9955d61a0a770152f9c3af470bd1689f034c74 (patch) | |
tree | 6f2648304b5616382752a5f4e6020037d0a137c5 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | e9bdcdbf6936dd1fbf419e00222dc9038b7812c2 (diff) |
mm: use pidfd_get_task()
Instead of duplicating the same code in two places use the newly added
pidfd_get_task() helper. This fixes an (unimportant for now) bug where
PIDTYPE_PID is used whereas PIDTYPE_TGID should have been used.
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