From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Mon, 14 Jan 2013 14:51:04 -0500 Subject: [lttng-dev] [lttng-modules PATCH] Add uprobes support In-Reply-To: <50F44BFB.3070206@gmail.com> References: <1358131230-3446-1-git-send-email-yannick.brosseau@gmail.com> <50F448D6.7050600@redhat.com> <50F44BFB.3070206@gmail.com> Message-ID: <20130114195104.GA11211@Krystal> * Yannick Brosseau (yannick.brosseau at gmail.com) wrote: > On 2013-01-14 13:05, Josh Stone wrote: > > On 01/13/2013 06:40 PM, Yannick Brosseau wrote: > >> + ret = uprobe_register(event->u.uprobe.inode, > >> + event->u.uprobe.offset, > >> + &event->u.uprobe.up_consumer); > >> + uprobe_unregister(event->u.uprobe.inode, > >> + event->u.uprobe.offset, > >> + &event->u.uprobe.up_consumer); > > I'm guessing that you're using a Fedora kernel? :) > Oh, you're right... I did not realize that the vanilla kernel did not > contains those export. > > > > These functions are not yet exported upstream, but coincidentally I just > > posted a patch for that a few days ago: > > > > https://patchwork.kernel.org/patch/1962891/ > > https://lkml.org/lkml/2013/1/13/118 > > > > If there's any more complaint about this, maybe you can chime in to > > advocate for lttng's needs too. > > > Ok, I'll weight in if necessary. Yes, we should be able to help out if needed. Meanwhile, we could use kallsyms to lookup these symbols and use them, as we already do in a couple of header under wrappers/ in lttng-modules. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com