[ltt-dev] [PATCH v4 3/4] Add get_ltt_root() to get dentry ofltt's root dir

Zhaolei zhaolei at cn.fujitsu.com
Thu Nov 13 20:40:16 EST 2008


* From: "Mathieu Desnoyers" <compudj at krystal.dyndns.org>
>* Zhaolei (zhaolei at cn.fujitsu.com) wrote:
>> get_ltt_root() is necessary for ltt-trace-control to create subdirs in ltt's
>> debugfs dir.
>> 
>> Signed-off-by: Zhao Lei <zhaolei at cn.fujitsu.com>
>> ---
>>  include/linux/ltt-core.h |    8 ++++++++
>>  ltt/ltt-core.c           |   14 ++++++++++++++
>>  ltt/ltt-relay.c          |    8 +-------
> 
> Hrm, shouldn't this patch change ltt-relay-locked.c in a similar way ?
> 
Hello, Mathieu,

Current source of ltt-relay-locked.c uses debugfs/ltt-locked(not debugfs/ltt) as its root dir.
It create debugfs/ltt-locked itself, so ltt-relay-locked.c needn't be changed.

B.R.
Zhaolei


More information about the lttng-dev mailing list