• Rob Clark's avatar
    kthread: add kthread_work tracepoints · f630c7c6
    Rob Clark authored
    While migrating some code from wq to kthread_worker, I found that I missed
    the execute_start/end tracepoints.  So add similar tracepoints for
    kthread_work.  And for completeness, queue_work tracepoint (although this
    one differs slightly from the matching workqueue tracepoint).
    
    Link: https://lkml.kernel.org/r/20201010180323.126634-1-robdclark@gmail.comSigned-off-by: default avatarRob Clark <robdclark@chromium.org>
    Cc: Rob Clark <robdclark@chromium.org>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
    Cc: Phil Auld <pauld@redhat.com>
    Cc: Valentin Schneider <valentin.schneider@arm.com>
    Cc: Thara Gopinath <thara.gopinath@linaro.org>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Cc: Vincent Donnefort <vincent.donnefort@arm.com>
    Cc: Mel Gorman <mgorman@techsingularity.net>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Frederic Weisbecker <frederic@kernel.org>
    Cc: Ilias Stamatis <stamatis.iliass@gmail.com>
    Cc: Liang Chen <cl@rock-chips.com>
    Cc: Ben Dooks <ben.dooks@codethink.co.uk>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: "J. Bruce Fields" <bfields@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f630c7c6
sched.h 17.5 KB