diff options
author | Hailong liu <liu.hailong6@zte.com.cn> | 2021-01-13 02:49:08 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-13 05:12:54 +0300 |
commit | ce8f86ee94fabcc98537ddccd7e82cfd360a4dc5 (patch) | |
tree | 82be8e59d7134053e71f59fc28460916ac754689 /tools/perf/scripts/python | |
parent | 8ff60eb052eeba95cfb3efe16b08c9199f8121cf (diff) | |
download | linux-ce8f86ee94fabcc98537ddccd7e82cfd360a4dc5.tar.xz |
mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint
The trace point *trace_mm_page_alloc_zone_locked()* in __rmqueue() does
not currently cover all branches. Add the missing tracepoint and check
the page before do that.
[akpm@linux-foundation.org: use IS_ENABLED() to suppress warning]
Link: https://lkml.kernel.org/r/20201228132901.41523-1-carver4lio@163.com
Signed-off-by: Hailong liu <liu.hailong6@zte.com.cn>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions