X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fglib.stp.in;h=41f2bbd9dc7d5d8bc9228c0945c251060206ec5e;hb=d0083f7e2dd621c6b78496bdb6ecf5d580c5e110;hp=95d33516ad4a7f6e2167cba7c14a2365b92f994f;hpb=bef9efd0a99a9a3bd6a2d713423edc37d6a38f21;p=platform%2Fupstream%2Fglib.git diff --git a/glib/glib.stp.in b/glib/glib.stp.in index 95d3351..41f2bbd 100644 --- a/glib/glib.stp.in +++ b/glib/glib.stp.in @@ -82,3 +82,25 @@ probe glib.slice_free = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_ n_bytes = $arg2; probestr = sprintf("glib.slice_free(n_bytes=%d) -> %p", n_bytes, mem); } + +/** + * * probe glib.main_before_dispatch - Called before dispatching a GSource + * * @source: name of the source + * * @callback: address of the callback + * */ +probe glib.main_before_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__before_dispatch") +{ + source = user_string2($arg1, "unnamed"); + probestr = sprintf("glib.main_before_dispatch(source=%s)", source); +} + +/** + * * probe glib.main_after_dispatch - Called after dispatching a GSource + * * @source: name of the source + * * @callback: address of the callback + * */ +probe glib.main_after_dispatch = process("@ABS_GLIB_RUNTIME_LIBDIR@/libglib-2.0.so.0.@LT_CURRENT@.@LT_REVISION@").mark("main__after_dispatch") +{ + source = user_string2($arg1, "unnamed"); + probestr = sprintf("glib.main_after_dispatch(source=%s)", source); +}