mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
tracing: allow filter predicates to handle ksym symbols
This patch increases the max string used by predicates to handle KSYM_SYMBOL_LEN. Also moves an include to look nicer. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
95b696088c
commit
16bb8eb1b7
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
#ifndef _LINUX_FTRACE_EVENT_H
|
#ifndef _LINUX_FTRACE_EVENT_H
|
||||||
#define _LINUX_FTRACE_EVENT_H
|
#define _LINUX_FTRACE_EVENT_H
|
||||||
|
|
||||||
#include <linux/trace_seq.h>
|
|
||||||
#include <linux/ring_buffer.h>
|
#include <linux/ring_buffer.h>
|
||||||
|
#include <linux/trace_seq.h>
|
||||||
#include <linux/percpu.h>
|
#include <linux/percpu.h>
|
||||||
|
|
||||||
struct trace_array;
|
struct trace_array;
|
||||||
|
@ -135,7 +135,7 @@ struct ftrace_event_call {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAX_FILTER_PRED 32
|
#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 void destroy_preds(struct ftrace_event_call *call);
|
||||||
extern int filter_match_preds(struct ftrace_event_call *call, void *rec);
|
extern int filter_match_preds(struct ftrace_event_call *call, void *rec);
|
||||||
|
|
Loading…
Reference in a new issue