Home
last modified time | relevance | path

Searched refs:abrt_hooks (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dlibqtest.c93 static GHookList abrt_hooks; variable
280 g_hook_list_invoke(&abrt_hooks, FALSE); in sigabrt_handler()
309 if (!abrt_hooks.is_setup) { in qtest_add_abrt_handler()
310 g_hook_list_init(&abrt_hooks, sizeof(GHook)); in qtest_add_abrt_handler()
314 if (hook_list_is_empty(&abrt_hooks)) { in qtest_add_abrt_handler()
318 hook = g_hook_alloc(&abrt_hooks); in qtest_add_abrt_handler()
322 g_hook_prepend(&abrt_hooks, hook); in qtest_add_abrt_handler()
327 GHook *hook = g_hook_find_data(&abrt_hooks, TRUE, data); in qtest_remove_abrt_handler()
333 g_hook_destroy_link(&abrt_hooks, hook); in qtest_remove_abrt_handler()
336 if (hook_list_is_empty(&abrt_hooks)) { in qtest_remove_abrt_handler()