From cf32fe6cf81040e04036f0fcf72f814ab891bb8a Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 5 Oct 2023 17:18:56 -0600 Subject: demo: implement perf command --- demo/demo.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'demo/demo.h') diff --git a/demo/demo.h b/demo/demo.h index f98d599..c889e1a 100644 --- a/demo/demo.h +++ b/demo/demo.h @@ -35,6 +35,7 @@ int strcmp(const char *s1, const char *s2); char *strtok_input(char **tokens); int expect_end(char **tokens); +void unexpected_eof(); int parse_hex(char **tokens, unsigned *val); int parse_ptr(char **tokens, void **ptr); @@ -45,4 +46,7 @@ int parse_cpu_mask(char **tokens, unsigned *mask); void cache_debug(unsigned cpu, void *ptr); +void perf_show(unsigned cpu); +void perf_clear(unsigned cpu); + #endif -- cgit v1.2.3