]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/perf/util/expr.h
4 #define EXPR_MAX_OTHER 8
5 #define MAX_PARSE_ID EXPR_MAX_OTHER
14 struct parse_id ids
[MAX_PARSE_ID
];
17 void expr__ctx_init(struct parse_ctx
*ctx
);
18 void expr__add_id(struct parse_ctx
*ctx
, const char *id
, double val
);
20 int expr__parse(double *final_val
, struct parse_ctx
*ctx
, const char **pp
);
22 int expr__find_other(const char *p
, const char *one
, const char ***other
,