From: compudj Date: Thu, 21 Sep 2006 21:18:23 +0000 (+0000) Subject: update probe X-Git-Tag: v0.12.20~1357 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2e87171712a35b10e625473d8440a6af906429bd;p=lttv.git update probe git-svn-id: http://ltt.polymtl.ca/svn@2132 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/tests/kernel/probe.c b/tests/kernel/probe.c index 96d9ff4d..58154b2d 100644 --- a/tests/kernel/probe.c +++ b/tests/kernel/probe.c @@ -13,20 +13,20 @@ #include /* function to install */ -void do_mark1(const char *format, int value) +asmlinkage void do_mark1(const char *format, int value) { printk("value is %d\n", value); } int init_module(void) { - return marker_set_probe("subsys_mark1", (marker_probe)do_mark1, + return marker_set_probe("subsys_mark1", (marker_probe_func*)do_mark1, MARKER_CALL); } void cleanup_module(void) { - marker_disable_probe("subsys_mark1", (marker_probe)do_mark1, + marker_disable_probe("subsys_mark1", (marker_probe_func*)do_mark1, MARKER_CALL); }