Re: [PATCH perf/urgent] perf tools: Fix the code to strip command name
- Date: Thu, 20 Apr 2017 19:42:31 +0900
- From: Taeung Song <treeze.taeung@xxxxxxxxx>
- Subject: Re: [PATCH perf/urgent] perf tools: Fix the code to strip command name
On 04/20/2017 07:35 PM, Jiri Olsa wrote:
On Thu, Apr 20, 2017 at 07:17:34PM +0900, Taeung Song wrote:
On 04/20/2017 06:24 PM, Jiri Olsa wrote:
Recent commit broke command name strip in perf_event__get_comm_ids
function. It replaced left to right search for '\n' with rtrim,
which actually does right to left search. It occasionally caught
earlier '\n' and kept trash in the command name.
Sorry for my commit that have failings.
Could I know the command name in the above case ?
The command name can have two '\n' ?
it's the next line in the status file.. parts of the Umask string
and 1 newline
State: S (sleeping)
I've already posted it in here:
I understood it.
Sorry for my mistake..