projects
/
strace
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d63aa5
)
Introduce printxval64 wrapper
author
Dmitry V. Levin
<ldv@altlinux.org>
Thu, 28 Apr 2016 18:15:20 +0000
(18:15 +0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Thu, 28 Apr 2016 19:04:01 +0000
(19:04 +0000)
This is necessary for the upcoming change of xlat.val type.
* defs.h (printxval64): New static inline function.
defs.h
patch
|
blob
|
history
diff --git
a/defs.h
b/defs.h
index 583f715688ff989d6ba56209dee353bc5495ad50..2cd239794669a0117f970e9e63f4aaa05789721c 100644
(file)
--- a/
defs.h
+++ b/
defs.h
@@
-666,6
+666,12
@@
extern void unwind_print_stacktrace(struct tcb* tcp);
extern void unwind_capture_stacktrace(struct tcb* tcp);
#endif
+static inline void
+printxval64(const struct xlat *x, const uint64_t val, const char *dflt)
+{
+ printxvals(val, dflt, x, NULL);
+}
+
static inline void
printxval(const struct xlat *x, const unsigned int val, const char *dflt)
{