aboutsummaryrefslogtreecommitdiffstats
path: root/parse-events.h
diff options
context:
space:
mode:
Diffstat (limited to 'parse-events.h')
-rw-r--r--parse-events.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/parse-events.h b/parse-events.h
index 73b36dd..d517ba2 100644
--- a/parse-events.h
+++ b/parse-events.h
@@ -131,12 +131,14 @@ struct event {
131}; 131};
132 132
133enum { 133enum {
134 EVENT_FL_ISFTRACE = 1, 134 EVENT_FL_ISFTRACE = 0x01,
135 EVENT_FL_ISPRINT = 2, 135 EVENT_FL_ISPRINT = 0x02,
136 EVENT_FL_ISBPRINT = 4, 136 EVENT_FL_ISBPRINT = 0x04,
137 EVENT_FL_ISFUNC = 8, 137 EVENT_FL_ISFUNC = 0x08,
138 EVENT_FL_ISFUNCENT = 16, 138 EVENT_FL_ISFUNCENT = 0x10,
139 EVENT_FL_ISFUNCRET = 32, 139 EVENT_FL_ISFUNCRET = 0x20,
140
141 EVENT_FL_FAILED = 0x80000000
140}; 142};
141 143
142struct record { 144struct record {
@@ -156,6 +158,7 @@ void trace_report(int argc, char **argv);
156 158
157void die(char *fmt, ...); 159void die(char *fmt, ...);
158void *malloc_or_die(unsigned int size); 160void *malloc_or_die(unsigned int size);
161void warn(char *fmt, ...);
159 162
160void parse_cmdlines(char *file, int size); 163void parse_cmdlines(char *file, int size);
161void parse_proc_kallsyms(char *file, unsigned int size); 164void parse_proc_kallsyms(char *file, unsigned int size);