Merge tag 'v5.9-rc2' into regulator-5.9
[linux-2.6-microblaze.git] / tools / perf / util / expr.h
index 9ed208d..fc2b5e8 100644 (file)
 
 struct metric_ref;
 
+struct expr_id {
+       char            *id;
+       struct expr_id  *parent;
+};
+
 struct expr_parse_ctx {
-       struct hashmap ids;
+       struct hashmap   ids;
+       struct expr_id  *parent;
 };
 
 struct expr_id_data {
@@ -25,6 +31,7 @@ struct expr_id_data {
                        const char *metric_expr;
                        bool counted;
                } ref;
+               struct expr_id  *parent;
        };
 
        bool is_ref;