mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 10:14:23 +08:00
2939b0469d
Impact: clean up The macros TPPROTO, TPARGS, TPFMT, TPRAWFMT, and TPCMD all look a bit ugly. This patch adds an underscore to their names. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
14 lines
323 B
C
14 lines
323 B
C
#ifndef _TP_SAMPLES_TRACE_H
|
|
#define _TP_SAMPLES_TRACE_H
|
|
|
|
#include <linux/proc_fs.h> /* for struct inode and struct file */
|
|
#include <linux/tracepoint.h>
|
|
|
|
DECLARE_TRACE(subsys_event,
|
|
TP_PROTO(struct inode *inode, struct file *file),
|
|
TP_ARGS(inode, file));
|
|
DECLARE_TRACE(subsys_eventb,
|
|
TP_PROTO(void),
|
|
TP_ARGS());
|
|
#endif
|