aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-04-20 12:09:51 +0100
committerChris Wilson <[email protected]>2016-04-20 13:47:43 +0100
commit1768d4550c055bfd2d4b44763fcb9230f41e593b (patch)
treec8fea4d9f8ff9552e699fcbdc0786422366f5826 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentca61d4a425f2e23e870e027f2450fb126a1f2103 (diff)
drm/i915/shrinker: Report "unevictable" pages
Inside the shrinker we call can_release_pages() to indicate whether or not we can make forward progress in freeing up memory by unbinding that object. When adding our report to oom, we should be using the same logic. Whilst here, change the reporting from bytes to pages so that it looks smaller to the user!, is consistent with the neighbouring oom report itself which displays counts in pages, and makes the unsigned long overflow less likely. v2: Split oversized format string into two lines Signed-off-by: Chris Wilson <[email protected]> Cc: Joonas Lahtinen <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Mika Kuoppala <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions