[PATCH 0/1][GROOVY] ftrace: Fix ftrace_trace_task return value

Colin King colin.king at canonical.com
Thu Aug 13 16:52:28 UTC 2020


From: Colin Ian King <colin.king at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1891528

A couple of ftrace kernel self test regression tests are failing on
systems with 1 CPU, notably small 1 CPU cloud instances. The two
tests that are failing are:

[20] ftrace - function graph filters with stack tracer
[21] ftrace - function graph filters

Bisected this down to commit 717e3f5ebc82 ("ftrace: Make function 
trace pid filtering a bit more exact") in linux 5.6-rc4 and found
and tested an upstream fix to this issue with the commit
c58b6b0372de ("ftrace: Fix ftrace_trace_task return value").

Josef Bacik (1):
  ftrace: Fix ftrace_trace_task return value

 kernel/trace/ftrace.c | 3 ---
 kernel/trace/trace.h  | 7 ++++++-
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.27.0




More information about the kernel-team mailing list