You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/include/trace/workqueue.h

25 lines
728 B

#ifndef __TRACE_WORKQUEUE_H
#define __TRACE_WORKQUEUE_H
#include <linux/tracepoint.h>
#include <linux/workqueue.h>
#include <linux/sched.h>
DECLARE_TRACE(workqueue_insertion,
TPPROTO(struct task_struct *wq_thread, struct work_struct *work),
TPARGS(wq_thread, work));
DECLARE_TRACE(workqueue_execution,
TPPROTO(struct task_struct *wq_thread, struct work_struct *work),
TPARGS(wq_thread, work));
/* Trace the creation of one workqueue thread on a cpu */
DECLARE_TRACE(workqueue_creation,
TPPROTO(struct task_struct *wq_thread, int cpu),
TPARGS(wq_thread, cpu));
DECLARE_TRACE(workqueue_destruction,
TPPROTO(struct task_struct *wq_thread),
TPARGS(wq_thread));
#endif /* __TRACE_WORKQUEUE_H */