WHICH: Watch over Heterogeneous Multicore ICs to Diagnose Harmful Stalls