summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index a2105f204a42..6314335007f0 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -7,8 +7,12 @@
#include <linux/list.h>
#include <linux/rbtree.h>
+struct ins;
+
struct ins_ops {
int (*parse_target)(const char *operands, u64 *target);
+ int (*scnprintf)(struct ins *ins, char *bf, size_t size,
+ const char *operands, u64 target);
};
struct ins {