On 4/24/17 1:54 PM, Arnaldo Carvalho de Melo wrote: > From: Jiri Olsa <[email protected]> > > 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. >
interesting. When I reviewed that patch it didn't cross my mind that a comm Name could have a newline in it. seems very odd to do so.

