[PATCH 1/6] perf tools: Add perf_evlist error string interface

2013-11-29 Thread Jiri Olsa
Adding perf_evlist__strerror function that returns static string of the last error occured during 'struct perf_evlist' handling: char *perf_evlist__strerror(struct perf_evlist *evlist); After each 'struct perf_evlist' operation that supports internal error handling, this function returns

[PATCH 1/6] perf tools: Add perf_evlist error string interface

2013-11-29 Thread Jiri Olsa
Adding perf_evlist__strerror function that returns static string of the last error occured during 'struct perf_evlist' handling: char *perf_evlist__strerror(struct perf_evlist *evlist); After each 'struct perf_evlist' operation that supports internal error handling, this function returns