Re: [PATCH v5 05/10] perf tools: ensure config and str in terms are unique

From
Arnaldo Carvalho de Melo <hidden>
Date
2019-11-06 14:31:57
Also in
bpf, lkml
Reply to
Jiri Olsa, 2019-11-06
Em Wed, Nov 06, 2019 at 03:25:03PM +0100, Jiri Olsa escreveu:
On Wed, Oct 30, 2019 at 03:34:43PM -0700, Ian Rogers wrote:
quoted
Make it easier to release memory associated with parse event terms by
duplicating the string for the config name and ensuring the val string
is a duplicate.

Currently the parser may memory leak terms and this is addressed in a
later patch.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Thanks, applied.

- Arnaldo
Thread (101 messages) 101 messages, 4 authors, last reply 2019-11-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help