Re: Reading debug/tracing info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Sat, Aug 20, 2011 at 12:10 PM, Prateek Sharma <prateek3.14@xxxxxxxxx> wrote:
>
>
> On Sat, Aug 20, 2011 at 3:20 PM, Prateek Sharma <prateek3.14@xxxxxxxxx>
> wrote:
>>
>> Hello all,
>>     I am learning how to add static trace points via trace_events.
>> I am seeing the trace using 'cat /sys/kernel/debug/tracing/trace' .
I am new and I try to learn trace. Can you give me how can use trace?
>> Naturally the tracing buffer size is limited. My question is, what is the
>> recommended way of reading trace data?
>> Ive looked at perf record/report, but so far, i have only managed to get
>> aggregated statistics, or complete dumps.
>> What i need is just  a way to collect all the trace output to one file.
>> Basically i am using the trace events as  a souped up printk (since i need
>> to collect large amounts of traces).
>> Do i need to use LTTng/viewer or something for this task?
>> Thanks!
>
> I've already found the solution to this, turns out there is trace_pipe as
> well.
> Sorry!
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux