diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2020-06-04 16:46:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-04 19:06:20 -0700 |
commit | 5fe7042dc0a2e80b4633df20dcd06b93e76e3c31 (patch) | |
tree | d9e0fc8bc2a6fec1977dd46654c5db046d2bfe9a /include/linux/frontswap.h | |
parent | eeb91f9a2e3e9766ae9fd1117bd19d87538f21bf (diff) | |
download | lwn-5fe7042dc0a2e80b4633df20dcd06b93e76e3c31.tar.gz lwn-5fe7042dc0a2e80b4633df20dcd06b93e76e3c31.zip |
kcov: use t->kcov_mode as enabled indicator
Currently kcov_remote_start() and kcov_remote_stop() check t->kcov to find
out whether the coverage is already being collected by the current task.
Use t->kcov_mode for that instead. This doesn't change the overall
behavior in any way, but serves as a preparation for the following softirq
coverage collection support patch.
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Potapenko <glider@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Marco Elver <elver@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Link: http://lkml.kernel.org/r/f70377945d1d8e6e4916cbce871a12303d6186b4.1585233617.git.andreyknvl@google.com
Link: http://lkml.kernel.org/r/ee1a1dec43059da5d7664c85c1addc89c4cd58de.1584655448.git.andreyknvl@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/frontswap.h')
0 files changed, 0 insertions, 0 deletions