diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2014-08-10 01:01:49 -0700 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2014-08-10 01:01:49 -0700 |
commit | 024053cd98c3bfc0bf6a9c4c219c9fb030f4a660 (patch) | |
tree | 201b330a6a3f4c23ba408a8bfa834bf79e3fa3d4 | |
parent | 53385b7dbd3829f8d0773819dd475732d8820481 (diff) | |
download | riscv-pk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.zip riscv-pk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.tar.gz riscv-pk-024053cd98c3bfc0bf6a9c4c219c9fb030f4a660.tar.bz2 |
Fix uarch counter printout type.
-rw-r--r-- | pk/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pk/syscall.c b/pk/syscall.c index f32bbe1..add12ce 100644 --- a/pk/syscall.c +++ b/pk/syscall.c @@ -46,7 +46,7 @@ void sys_exit(int code) for (int i = 0; i < NUM_COUNTERS; i++) { if (uarch_counters[i]) { - printk("%s = %d\n", uarch_counter_names[i], uarch_counters[i]); + printk("%s = %ld\n", uarch_counter_names[i], uarch_counters[i]); } } } |