Re: Query: is it possible to trace at exactly start and end time of tracing

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

 



On Thu, 12 Sep 2013 03:16:00 +0000
"Du, Yuyang" <yuyang.du@xxxxxxxxx> wrote:

> Because I want to save start and end snapshots of some state.
> 

I'm not exactly sure what you want. You can use the new "snapshot"
feature (available since 3.10) and save the start and stop of a state
without the need of tracing it.

echo 1 > /sys/kernel/debug/tracing/snapshot
cat /sys/kernel/debug/tracing/snapshot

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux