annotate.h (5145418b06fa907883ff1f62301d534a0d26ba18) | annotate.h (4f9d03251b9d202ebce805757360ef0fac5eb74e) |
---|---|
1#ifndef __PERF_ANNOTATE_H 2#define __PERF_ANNOTATE_H 3 4#include <stdbool.h> 5#include "types.h" 6#include "symbol.h" 7#include <linux/list.h> 8#include <linux/rbtree.h> 9 | 1#ifndef __PERF_ANNOTATE_H 2#define __PERF_ANNOTATE_H 3 4#include <stdbool.h> 5#include "types.h" 6#include "symbol.h" 7#include <linux/list.h> 8#include <linux/rbtree.h> 9 |
10struct ins_ops { 11 int (*parse_target)(const char *operands, u64 *target); 12}; 13 14struct ins { 15 const char *name; 16 struct ins_ops *ops; 17}; 18 19bool ins__is_jump(const struct ins *ins); 20 |
|
10struct disasm_line { 11 struct list_head node; 12 s64 offset; | 21struct disasm_line { 22 struct list_head node; 23 s64 offset; |
24 u64 target; |
|
13 char *line; 14 char *name; | 25 char *line; 26 char *name; |
27 struct ins *ins; |
|
15 char *operands; 16}; 17 18void disasm_line__free(struct disasm_line *dl); 19struct disasm_line *disasm__get_next_ip_line(struct list_head *head, struct disasm_line *pos); 20size_t disasm__fprintf(struct list_head *head, FILE *fp); 21 22struct sym_hist { --- 87 unchanged lines hidden --- | 28 char *operands; 29}; 30 31void disasm_line__free(struct disasm_line *dl); 32struct disasm_line *disasm__get_next_ip_line(struct list_head *head, struct disasm_line *pos); 33size_t disasm__fprintf(struct list_head *head, FILE *fp); 34 35struct sym_hist { --- 87 unchanged lines hidden --- |