[lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-14 Thread Francis Deslauriers
This patch adds new trap tracepoint definitions. Both trap entry and trap exit tracepoints can be added. Signed-off-by: Francis Deslauriers --- include/trace/events/trap.h | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 include/trace/events/tr

[lttng-dev] [RFC-PATCH] Adding trap tracepoints definitions

2013-03-14 Thread Francis Deslauriers
Hi, I am currently working on adding trap tracepoints in the kernel. As of now, i have an implementation of the tracepoints trap_entry and trap_exit. I have created a LTTng probe for those events as well. It would really be appreciated that you, LTTng guys, can give me your comments about my work

Re: [lttng-dev] LTTng & Google Summer of Code 2013

2013-03-14 Thread Christian Babeux
Hi lttng-droids, As a follow up to the initial discussion, here is the detailed ideas list for the proposition for GSoC 2013: http://bugs.lttng.org/projects/lttng/wiki/Google_Summer_of_Code_2013 Feedback and corrections are quite welcome! Thanks, Christian On Fri, Feb 1, 2013 at 11:39 AM, Ch

Re: [lttng-dev] [PATCH] Add a git version information in LTTng versions compiled from git sources

2013-03-14 Thread Raphaël Beamonte
On 2013-03-14 12:53, David Goulet wrote: > Another thing, we really do prefer having #ifdef statement in one call > site per binaries this means that you might want to use like > "lttng-sessiond.h", put the ifdef there and do an inline function to > print the correct version. Ok, no problem ! Will

Re: [lttng-dev] [PATCH] Add a git version information in LTTng versions compiled from git sources

2013-03-14 Thread Yannick Brosseau
I think this method is really sensible on the execution order of the makefile. Maybe it should be put at the top level. On 2013-03-14 13:04, David Goulet wrote: > Oh wait it did create the version.h with the GIT_VERSION but I had to > compile again so this header file could be used in the code. >

Re: [lttng-dev] [PATCH] Add a git version information in LTTng versions compiled from git sources

2013-03-14 Thread David Goulet
Oh wait it did create the version.h with the GIT_VERSION but I had to compile again so this header file could be used in the code. David David Goulet: > Hey Raphaël, > > This does not seems to work... I've applied your patch and recompile my > git tree but version are still showing "2.1.0" ... ?

Re: [lttng-dev] [PATCH] Add a git version information in LTTng versions compiled from git sources

2013-03-14 Thread David Goulet
Hey Raphaël, This does not seems to work... I've applied your patch and recompile my git tree but version are still showing "2.1.0" ... ? Another thing, we really do prefer having #ifdef statement in one call site per binaries this means that you might want to use like "lttng-sessiond.h", put the