Messages in this thread | | | Date | Sat, 20 Nov 2010 15:13:34 -0200 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf: Change and clean up sys_perf_event_open error handling |
| |
Em Fri, Nov 19, 2010 at 05:37:24PM -0800, Corey Ashford escreveu: > This patch makes several changes to "perf stat": > > - "perf stat" will no longer go ahead and run the application when one or > more of the specified events could not be opened. > - Use error() and die() instead of pr_err() so that the output is more > consistent with "perf top" and "perf record". > - Handle permission errors in a more robust way, and in a similar way to > "perf record" and "perf top". > > In addition, the sys_perf_event_open() error handling of "perf top" and > "perf record" is made more consistent and adds the following phrase when an > event doesn't open (with something ther than an access or permission > error):
Thanks, applied.
Ingo, this one is in my perf/core branch, in addition to the 3 patches I posted yesterday.
- Arnaldo
| |