Files
linux/tools/perf/util
Arnaldo Carvalho de Melo 5149303fdf perf probe: Fix memory leak when synthesizing SDT probes
The argv_split() function must be paired with argv_free(), else we must
keep a reference to the argv array received or do the freeing ourselves,
in synthesize_sdt_probe_command() we were simply leaking that argv[]
array.

Fixes: 3b1f8311f6 ("perf probe: Add sdt probes arguments into the uprobe cmd string")
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexandre Truong <[email protected]>
Cc: Alexis Berlemont <[email protected]>
Cc: He Zhe <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Garry <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sumanth Korikkar <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2020-12-24 10:52:10 -03:00
..
2020-01-14 12:02:19 -03:00
…
2019-02-19 16:11:56 -03:00
2019-02-19 16:11:56 -03:00
…
2020-10-14 13:34:26 -03:00
2020-10-14 13:34:26 -03:00
…
2020-11-27 08:37:15 -03:00
2020-11-27 08:37:15 -03:00
2020-12-19 17:04:39 -03:00
2020-06-22 16:28:09 -03:00
…
…
2020-12-17 14:36:17 -03:00
2020-12-17 14:36:17 -03:00
…
…
…
…
2020-12-19 17:04:39 -03:00
…
2019-01-25 15:12:09 +01:00
…
2020-10-14 13:34:26 -03:00
2020-10-14 13:34:26 -03:00
…
…
…
2020-04-18 09:05:01 -03:00
2020-04-18 09:05:01 -03:00
…
…
…
…