diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-05 17:18:56 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-05 17:18:56 -0600 |
| commit | cf32fe6cf81040e04036f0fcf72f814ab891bb8a (patch) | |
| tree | a1e1c50ab905ce6b7b85dcffc98c09995d72e693 /demo/demo.h | |
| parent | d406720cecd7328f595255e65b6fd6b6814cefe4 (diff) | |
demo: implement perf command
Diffstat (limited to 'demo/demo.h')
| -rw-r--r-- | demo/demo.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
