diff options
author | Mateusz Guzik <[email protected]> | 2016-08-23 16:20:38 +0200 |
---|---|---|
committer | Paul Moore <[email protected]> | 2016-08-31 16:11:20 -0400 |
commit | cd81a9170e69e018bbaba547c1fd85a585f5697a (patch) | |
tree | b0c11dc4cc55aba04e21f8c7352b8c516124cbdb /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 43761473c254b45883a64441dd0bc85a42f3645c (diff) |
mm: introduce get_task_exe_file
For more convenient access if one has a pointer to the task.
As a minor nit take advantage of the fact that only task lock + rcu are
needed to safely grab ->exe_file. This saves mm refcount dance.
Use the helper in proc_exe_link.
Signed-off-by: Mateusz Guzik <[email protected]>
Acked-by: Konstantin Khlebnikov <[email protected]>
Acked-by: Richard Guy Briggs <[email protected]>
Cc: <[email protected]> # 4.3.x
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions