Merge tag 'asm-generic-mmu-context-5.11' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / kernel / trace / trace_synth.h
index ac35c45..6e146b9 100644 (file)
@@ -7,7 +7,7 @@
 #define SYNTH_SYSTEM           "synthetic"
 #define SYNTH_FIELDS_MAX       32
 
-#define STR_VAR_LEN_MAX                32 /* must be multiple of sizeof(u64) */
+#define STR_VAR_LEN_MAX                MAX_FILTER_STR_VAL /* must be multiple of sizeof(u64) */
 
 struct synth_field {
        char *type;
@@ -16,6 +16,8 @@ struct synth_field {
        unsigned int offset;
        bool is_signed;
        bool is_string;
+       bool is_dynamic;
+       bool field_pos;
 };
 
 struct synth_event {
@@ -24,6 +26,8 @@ struct synth_event {
        char                                    *name;
        struct synth_field                      **fields;
        unsigned int                            n_fields;
+       struct synth_field                      **dynamic_fields;
+       unsigned int                            n_dynamic_fields;
        unsigned int                            n_u64;
        struct trace_event_class                class;
        struct trace_event_call                 call;