aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2015-09-07 10:38:03 +0200
committerArnaldo Carvalho de Melo <[email protected]>2015-09-15 09:48:32 -0300
commit01ca9fd41d6f2ad796a6b109b5253e06b6ae6dc7 (patch)
tree59da19c7f1b5d716a0442229e40af73844b09b89 /tools/perf/util/trace-event-scripting.c
parent9bae1e8c3fe5359ce17309b894f54667fd563e98 (diff)
tools: Add err.h with ERR_PTR PTR_ERR interface
Adding part of the kernel's <linux/err.h> interface: inline void * __must_check ERR_PTR(long error); inline long __must_check PTR_ERR(__force const void *ptr); inline bool __must_check IS_ERR(__force const void *ptr); It will be used to propagate error through pointers in following patches. Signed-off-by: Jiri Olsa <[email protected]> Reviewed-by: Raphael Beamonte <[email protected]> Cc: David Ahern <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions