OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
[uclinux-h8/linux.git]
/
tools
/
perf
/
util
/
perf_regs.c
diff --git
a/tools/perf/util/perf_regs.c
b/tools/perf/util/perf_regs.c
index
885e8ac
..
6b8eb13
100644
(file)
--- a/
tools/perf/util/perf_regs.c
+++ b/
tools/perf/util/perf_regs.c
@@
-6,6
+6,7
@@
const struct sample_reg __weak sample_reg_masks[] = {
SMPL_REG_END
};
+#ifdef HAVE_PERF_REGS_SUPPORT
int perf_reg_value(u64 *valp, struct regs_dump *regs, int id)
{
int i, idx = 0;
@@
-29,3
+30,4
@@
out:
*valp = regs->cache_regs[id];
return 0;
}
+#endif