* [PATCH] trace/synthetic_events: increase SYNTH_FIELDS_MAX
@ 2019-11-15 9:17 Artem Bityutskiy
2019-11-15 15:52 ` Steven Rostedt
0 siblings, 1 reply; 3+ messages in thread
From: Artem Bityutskiy @ 2019-11-15 9:17 UTC (permalink / raw)
To: Steven Rostedt, Tom Zanussi; +Cc: linux-kernel
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Increase the maximum allowed count of synthetic event fields from 16 to 32
in order to allow for larger-than-usual events.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
---
kernel/trace/trace_events_hist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
index 7482a1466ebf..f49d1a36d3ae 100644
--- a/kernel/trace/trace_events_hist.c
+++ b/kernel/trace/trace_events_hist.c
@@ -23,7 +23,7 @@
#include "trace_dynevent.h"
#define SYNTH_SYSTEM "synthetic"
-#define SYNTH_FIELDS_MAX 16
+#define SYNTH_FIELDS_MAX 32
#define STR_VAR_LEN_MAX 32 /* must be multiple of sizeof(u64) */
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] trace/synthetic_events: increase SYNTH_FIELDS_MAX
2019-11-15 9:17 [PATCH] trace/synthetic_events: increase SYNTH_FIELDS_MAX Artem Bityutskiy
@ 2019-11-15 15:52 ` Steven Rostedt
2019-11-15 16:21 ` Zanussi, Tom
0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2019-11-15 15:52 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: Tom Zanussi, linux-kernel
On Fri, 15 Nov 2019 11:17:30 +0200
Artem Bityutskiy <dedekind1@gmail.com> wrote:
> From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>
> Increase the maximum allowed count of synthetic event fields from 16 to 32
> in order to allow for larger-than-usual events.
I'm fine with this, Tom are you OK with it?
-- Steve
>
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> ---
> kernel/trace/trace_events_hist.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
> index 7482a1466ebf..f49d1a36d3ae 100644
> --- a/kernel/trace/trace_events_hist.c
> +++ b/kernel/trace/trace_events_hist.c
> @@ -23,7 +23,7 @@
> #include "trace_dynevent.h"
>
> #define SYNTH_SYSTEM "synthetic"
> -#define SYNTH_FIELDS_MAX 16
> +#define SYNTH_FIELDS_MAX 32
>
> #define STR_VAR_LEN_MAX 32 /* must be multiple of sizeof(u64) */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] trace/synthetic_events: increase SYNTH_FIELDS_MAX
2019-11-15 15:52 ` Steven Rostedt
@ 2019-11-15 16:21 ` Zanussi, Tom
0 siblings, 0 replies; 3+ messages in thread
From: Zanussi, Tom @ 2019-11-15 16:21 UTC (permalink / raw)
To: Steven Rostedt, Artem Bityutskiy; +Cc: linux-kernel
Hi Steve and Artem,
On 11/15/2019 9:52 AM, Steven Rostedt wrote:
> On Fri, 15 Nov 2019 11:17:30 +0200
> Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
>> From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>>
>> Increase the maximum allowed count of synthetic event fields from 16 to 32
>> in order to allow for larger-than-usual events.
>
> I'm fine with this, Tom are you OK with it?
Yeah, looks good to me. Thanks for the patch, Artem.
Reviewed-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tom
>
> -- Steve
>
>>
>> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>> ---
>> kernel/trace/trace_events_hist.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c
>> index 7482a1466ebf..f49d1a36d3ae 100644
>> --- a/kernel/trace/trace_events_hist.c
>> +++ b/kernel/trace/trace_events_hist.c
>> @@ -23,7 +23,7 @@
>> #include "trace_dynevent.h"
>>
>> #define SYNTH_SYSTEM "synthetic"
>> -#define SYNTH_FIELDS_MAX 16
>> +#define SYNTH_FIELDS_MAX 32
>>
>> #define STR_VAR_LEN_MAX 32 /* must be multiple of sizeof(u64) */
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-15 16:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 9:17 [PATCH] trace/synthetic_events: increase SYNTH_FIELDS_MAX Artem Bityutskiy
2019-11-15 15:52 ` Steven Rostedt
2019-11-15 16:21 ` Zanussi, Tom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).