git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tracing: Add ftrace event call parameter to its field descriptor handler
[pandora-kernel.git]
/
include
/
linux
/
ftrace_event.h
diff --git
a/include/linux/ftrace_event.h
b/include/linux/ftrace_event.h
index
d7cd193
..
189806b
100644
(file)
--- a/
include/linux/ftrace_event.h
+++ b/
include/linux/ftrace_event.h
@@
-89,7
+89,9
@@
enum print_line_t {
TRACE_TYPE_NO_CONSUME = 3 /* Handled but ask to not consume */
};
TRACE_TYPE_NO_CONSUME = 3 /* Handled but ask to not consume */
};
-
+void tracing_generic_entry_update(struct trace_entry *entry,
+ unsigned long flags,
+ int pc);
struct ring_buffer_event *
trace_current_buffer_lock_reserve(int type, unsigned long len,
unsigned long flags, int pc);
struct ring_buffer_event *
trace_current_buffer_lock_reserve(int type, unsigned long len,
unsigned long flags, int pc);
@@
-101,6
+103,8
@@
void trace_current_buffer_discard_commit(struct ring_buffer_event *event);
void tracing_record_cmdline(struct task_struct *tsk);
void tracing_record_cmdline(struct task_struct *tsk);
+struct event_filter;
+
struct ftrace_event_call {
struct list_head list;
char *name;
struct ftrace_event_call {
struct list_head list;
char *name;
@@
-108,16
+112,18
@@
struct ftrace_event_call {
struct dentry *dir;
struct trace_event *event;
int enabled;
struct dentry *dir;
struct trace_event *event;
int enabled;
- int (*regfunc)(void);
- void (*unregfunc)(void);
+ int (*regfunc)(void
*
);
+ void (*unregfunc)(void
*
);
int id;
int (*raw_init)(void);
int id;
int (*raw_init)(void);
- int (*show_format)(struct trace_seq *s);
+ int (*show_format)(struct ftrace_event_call *call,
+ struct trace_seq *s);
int (*define_fields)(void);
struct list_head fields;
int filter_active;
int (*define_fields)(void);
struct list_head fields;
int filter_active;
-
void
*filter;
+
struct event_filter
*filter;
void *mod;
void *mod;
+ void *data;
atomic_t profile_count;
int (*profile_enable)(struct ftrace_event_call *);
atomic_t profile_count;
int (*profile_enable)(struct ftrace_event_call *);