Namhyung Kim 9999a9f004 perf dwarf-aux: Fix off-by-one in die_get_varname()
[ Upstream commit 3abfcfd847717d232e36963f31a361747c388fe7 ]

The die_get_varname() returns "(unknown_type)" string if it failed to
find a type for the variable.  But it had a space before the opening
parenthesis and it made the closing parenthesis cut off due to the
off-by-one in the string length (14).

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Fixes: 88fd633cdfa19060 ("perf probe: No need to use formatting strbuf method")
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230612234102.3909116-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:38 +02:00
..
2022-01-12 17:01:38 -08:00
2022-06-28 12:05:25 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2021-09-03 08:15:10 -03:00
2021-04-29 10:30:58 -03:00
2021-08-11 09:35:44 -03:00
2022-10-04 08:55:20 -03:00
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-06 08:03:52 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2021-11-07 12:27:38 -03:00
2021-02-03 13:10:44 -03:00
2022-07-26 16:31:54 -03:00
2021-07-15 17:30:22 -03:00
2022-02-14 16:56:32 -03:00
2022-10-04 08:55:22 -03:00
2021-11-07 12:27:38 -03:00
2022-10-04 08:55:21 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2022-10-04 08:55:22 -03:00
2020-10-14 13:34:26 -03:00
2021-02-17 15:15:06 -03:00
2022-10-04 08:55:23 -03:00
2022-06-23 11:54:22 -03:00
2022-10-04 08:55:20 -03:00