Regarding ltt-core.h file

"Srinivasa Reddy" <[email protected]> Tue, 24 Jul 2007 19:06:16 +0530
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hi Mathieu,

 

I have found some difference in linux-2.6.19/include/linux/ltt-core.h
file (on my machine and over the net). 

 

The file what I have in my linux kernel folder after I did the patch of
LTTng is like given below:

 

 

/*

 * linux/include/linux/ltt-core.h

 *

 * Copyright (C) 2005,2006 Mathieu Desnoyers
([email protected])

 *

 * This contains the core definitions for the Linux Trace Toolkit.

 */

 

#ifndef LTT_CORE_H

#define LTT_CORE_H

 

#include <linux/list.h>

 

#ifdef CONFIG_LTT

 

/* All modifications of ltt_traces must be done by ltt-tracer.c, while
holding

 * the semaphore. Only reading of this information can be done
elsewhere, with

 * the RCU mechanism : the preemption must be disabled while reading the

 * list. */

struct ltt_traces {

      struct list_head head;        /* Traces list */

      unsigned int num_active_traces;     /* Number of active traces */

} ____cacheline_aligned;

 

extern struct ltt_traces ltt_traces;

 

 

/* Keep track of traps nesting inside LTT */

extern volatile unsigned int ltt_nesting[];

 

#endif //CONFIG_LTT

 

#endif //LTT_CORE_H

 

 

But when I am searching some thing on google I have found a link for
that file.

Which has lot of stuff in that, like : lot of function calls
(channel_create, ....). The link is given below:

 

http://listserv.shafik.org/pipermail/ltt-dev/2006-September/001846.html

 

My LTTng version is 0.6.47 and 0.6.48. and linux kernel is 2.6.19.

 

Could you please tell me whether I am getting that file wrongly while I
am doing the patch? or 

 

Those functions are implemented in different files of these latest
versions of LTTng?

 

Because my environment is not creating the channel file, and lttd is
saying "No Channel to read".

 

Please clarify this.

 

Regards,

Srinivas.

_______________________________________________
Ltt-dev mailing list
[email protected]
http://listserv.shafik.org/mailman/listinfo/ltt-dev