コード例 #1
0
ファイル: plugin_hrtimer.c プロジェクト: rostedt/trace-cmd
void TEP_PLUGIN_UNLOADER(struct tep_handle *tep)
{
	tep_unregister_event_handler(tep, -1,
				     "timer", "hrtimer_expire_entry",
				     timer_expire_handler, NULL);

	tep_unregister_event_handler(tep, -1, "timer", "hrtimer_start",
				     timer_start_handler, NULL);
}
コード例 #2
0
ファイル: plugin_sched_switch.c プロジェクト: Lyude/linux
void TEP_PLUGIN_UNLOADER(struct tep_handle *pevent)
{
	tep_unregister_event_handler(pevent, -1, "sched", "sched_switch",
				     sched_switch_handler, NULL);

	tep_unregister_event_handler(pevent, -1, "sched", "sched_wakeup",
				     sched_wakeup_handler, NULL);

	tep_unregister_event_handler(pevent, -1, "sched", "sched_wakeup_new",
				     sched_wakeup_handler, NULL);
}