Re: [PATCH 1/3] perf tools: Do proper comm override error handling

2014-01-14 Thread Namhyung Kim
Hi Frederic, On Tue, 14 Jan 2014 16:37:14 +0100, Frederic Weisbecker wrote: > The comm overriding API ignores memory allocation failures by silently > keeping the previous and out of date comm. > > As a result, the user may get buggy events without ever being notified > about the problem and its

[PATCH 1/3] perf tools: Do proper comm override error handling

2014-01-14 Thread Frederic Weisbecker
The comm overriding API ignores memory allocation failures by silently keeping the previous and out of date comm. As a result, the user may get buggy events without ever being notified about the problem and its source. Lets start to fix this by propagating the error from the API. Not all callers

[PATCH 1/3] perf tools: Do proper comm override error handling

2014-01-14 Thread Frederic Weisbecker
The comm overriding API ignores memory allocation failures by silently keeping the previous and out of date comm. As a result, the user may get buggy events without ever being notified about the problem and its source. Lets start to fix this by propagating the error from the API. Not all callers

Re: [PATCH 1/3] perf tools: Do proper comm override error handling

2014-01-14 Thread Namhyung Kim
Hi Frederic, On Tue, 14 Jan 2014 16:37:14 +0100, Frederic Weisbecker wrote: The comm overriding API ignores memory allocation failures by silently keeping the previous and out of date comm. As a result, the user may get buggy events without ever being notified about the problem and its