hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/tools/perf/util/svghelper.h
....@@ -4,6 +4,8 @@
44
55 #include <linux/types.h>
66
7
+struct perf_env;
8
+
79 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end);
810 void svg_ubox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges);
911 void svg_lbox(int Yslot, u64 start, u64 end, double height, const char *type, int fd, int err, int merges);
....@@ -28,7 +30,7 @@
2830 void svg_interrupt(u64 start, int row, const char *backtrace);
2931 void svg_text(int Yslot, u64 start, const char *text);
3032 void svg_close(void);
31
-int svg_build_topology_map(char *sib_core, int sib_core_nr, char *sib_thr, int sib_thr_nr);
33
+int svg_build_topology_map(struct perf_env *env);
3234
3335 extern int svg_page_width;
3436 extern u64 svg_highlight;