Using dynamic kernel events