diff options
| author | SeongJae Park <[email protected]> | 2022-06-06 18:23:06 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:38 -0700 |
| commit | c9e124e0382d83d458db204f929002ea98daa6a8 (patch) | |
| tree | 7c3f1f9a10a335ce423ff9706c8690968712cede /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 205498012513f9a1209d9335bf3766080c587a33 (diff) | |
mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.h
The function for knowing if given monitoring context's targets will have
pid or not is defined and used in dbgfs only. However, the logic is also
needed for sysfs. This commit moves the code to damon.h and makes both
dbgfs and sysfs to use it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: SeongJae Park <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions