Re: [PATCH] trace2: use warning() directly in tr2_dst_malformed_warning()

2019-09-04 Thread Jeff Hostetler
On 8/25/2019 1:44 PM, René Scharfe wrote: Let warning() format the message instead of using an intermediate strbuf for that. This is shorter, easier to read and avoids an allocation. Signed-off-by: René Scharfe --- trace2/tr2_dst.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deleti

[PATCH] trace2: use warning() directly in tr2_dst_malformed_warning()

2019-08-25 Thread René Scharfe
Let warning() format the message instead of using an intermediate strbuf for that. This is shorter, easier to read and avoids an allocation. Signed-off-by: René Scharfe --- trace2/tr2_dst.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/trace2/tr2_dst.c b/trace2/tr