From mboxrd@z Thu Jan 1 00:00:00 1970 From: guijianfeng@cn.fujitsu.com (Gui Jianfeng) Date: Mon, 12 Jan 2009 09:50:45 +0800 Subject: [ltt-dev] move marker-control file into debugfs In-Reply-To: <20090112014503.GB23423@Krystal> References: <496A9AE3.5050004@cn.fujitsu.com> <20090112014503.GB23423@Krystal> Message-ID: <496AA1F5.1070106@cn.fujitsu.com> Mathieu Desnoyers wrote: > * Gui Jianfeng (guijianfeng at cn.fujitsu.com) wrote: >> Hi Mathieu, >> >> I'd like to move "/proc/ltt" into debugfs. How do >> you think of that? If you don't object, i'll post >> a patch later, and update ltt-arm and other relative >> tools. >> > > Yes, this should be done. Please have a look at the discussion I had > with Zhaolei on this. It was on the ltt-dev ML. > > Basically, the idea is to change the semantics a bit. The following > directory tree would be great : > > /mnt/debugfs/ltt/markers/ > / > / > > And within each individual / directory, we would have > those files : > > enabled (write, takes Y, y, 1 or N, n, 0. See ltt-trace-control.c.) > (read, prints 1 or 0) > > We may want to remove the ability to connect markers to specific probes. > Markers would always be only connected to the default serializer. > Markers using ltt-type-serializer does not use the probe pointer anyway. > > We will probably want to let the > kernel/marker.c:add_marker()/remove_marker() code call into the debugfs > interface code to update the directory tree accordingly. Thanks for your comments, i'll see what i can do. > > Regards, > > Mathieu > > >> -- >> Regards >> Gui Jianfeng >> >> >> _______________________________________________ >> ltt-dev mailing list >> ltt-dev at lists.casi.polymtl.ca >> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev >> > -- Regards Gui Jianfeng