added missing variable if trace is enabled with tickless idle mode.