forked from M-Labs/artiq
remove profiler
This commit is contained in:
parent
1b8b4baf6a
commit
5656e52581
|
@ -288,17 +288,6 @@ pub extern fn exception(regs: *const TrapFrame) {
|
|||
match cause {
|
||||
mcause::Trap::Interrupt(source) => {
|
||||
info!("Called interrupt with {:?}", source);
|
||||
// while irq::pending_mask() != 0 {
|
||||
// match () {
|
||||
// #[cfg(has_timer1)]
|
||||
// () if irq::is_pending(csr::TIMER1_INTERRUPT) =>
|
||||
// profiler::sample(pc as usize),
|
||||
// _ => {
|
||||
// panic!("spurious irq {}", irq::pending_mask().trailing_zeros())
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
panic!("Interrupt not present");
|
||||
},
|
||||
mcause::Trap::Exception(e) => {
|
||||
println!("Stack pointer: {:p}", regs);
|
||||
|
|
Loading…
Reference in New Issue