kernel and trace