perf target: Introduce perf_target_errno
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 7 May 2012 05:09:00 +0000 (14:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 7 May 2012 19:46:35 +0000 (16:46 -0300)
commit60bbddaaa33865633efa2800702e3b02495a0e94
tree52c177c76c7c22a96e77c61d374e1ee52105e8a2
parent55261f46702cec96911a81aacfb3cba13434d304
perf target: Introduce perf_target_errno

The perf_target_errno enumerations are used to indicate specific error
cases on perf target operations. It'd help libperf being a more generic
library.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Suggested-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Reviewed-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1336367344-28071-4-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/target.c
tools/perf/util/target.h