Re: [PATCH v2 3/3] tracing: Add support for dynamic strings to synthetic events

2020-10-02 Thread Tom Zanussi
Hi Masami, On Fri, 2020-10-02 at 16:17 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Wed, 30 Sep 2020 13:40:52 -0500 > Tom Zanussi wrote: > > > Currently, sythetic events only support static string fields such > > as: > > > > # echo 'test_latency u64 lat; char somename[32]' > > > /sys/kern

Re: [PATCH v2 3/3] tracing: Add support for dynamic strings to synthetic events

2020-10-02 Thread Masami Hiramatsu
Hi Tom, On Wed, 30 Sep 2020 13:40:52 -0500 Tom Zanussi wrote: > Currently, sythetic events only support static string fields such as: > > # echo 'test_latency u64 lat; char somename[32]' > > /sys/kernel/debug/tracing/synthetic_events > > Which is fine, but wastes a lot of space in the event

[PATCH v2 3/3] tracing: Add support for dynamic strings to synthetic events

2020-09-30 Thread Tom Zanussi
Currently, sythetic events only support static string fields such as: # echo 'test_latency u64 lat; char somename[32]' > /sys/kernel/debug/tracing/synthetic_events Which is fine, but wastes a lot of space in the event. It also prevents the most commonly-defined strings in the existing trace e