X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fftrace_event.h;fp=include%2Flinux%2Fftrace_event.h;h=3451c55acb5953a084f6e24b5cd37954b2175882;hb=d7a4b414eed51f1653bb05ebe84122bf9a7ae18b;hp=a256c8f782906691e0512538a00533737e010ec4;hpb=1f0ab40976460bc4673fa204ce917a725185d8f2;p=mv-sheeva.git diff --git a/include/linux/ftrace_event.h b/include/linux/ftrace_event.h index a256c8f7829..3451c55acb5 100644 --- a/include/linux/ftrace_event.h +++ b/include/linux/ftrace_event.h @@ -1,9 +1,10 @@ #ifndef _LINUX_FTRACE_EVENT_H #define _LINUX_FTRACE_EVENT_H -#include #include +#include #include +#include struct trace_array; struct tracer; @@ -34,7 +35,7 @@ struct trace_entry { unsigned char flags; unsigned char preempt_count; int pid; - int tgid; + int lock_depth; }; #define FTRACE_MAX_EVENT \ @@ -134,8 +135,13 @@ struct ftrace_event_call { void (*profile_disable)(struct ftrace_event_call *); }; +#define FTRACE_MAX_PROFILE_SIZE 2048 + +extern char *trace_profile_buf; +extern char *trace_profile_buf_nmi; + #define MAX_FILTER_PRED 32 -#define MAX_FILTER_STR_VAL 128 +#define MAX_FILTER_STR_VAL 256 /* Should handle KSYM_SYMBOL_LEN */ extern void destroy_preds(struct ftrace_event_call *call); extern int filter_match_preds(struct ftrace_event_call *call, void *rec);