Home | History | Annotate | Download | only in atrace

Lines Matching refs:Trace

36 #include <utils/Trace.h>
172 "/sys/kernel/debug/tracing/trace";
293 // Enable or disable overwriting of the kernel trace buffers. Disabling this
294 // will cause tracing to stop once the trace buffers have filled up.
306 // Clear the contents of the kernel trace.
312 // Set the size of the kernel's trace buffer in kilobytes.
366 // Set the trace tags that userland tracing uses, and poke the running
373 fprintf(stderr, "error setting trace tags system property\n");
384 fprintf(stderr, "error setting trace app system property\n");
438 "to trace.\n", func);
448 // Set the comma separated list of functions that the kernel is to trace.
488 // Set all the kernel tracing settings to the desired state for this trace
571 // Read the current kernel trace and write it to stdout.
608 fprintf(stderr, "error reading trace: %s (%d)\n",
624 fprintf(stderr, "error writing deflated trace: %s (%d)\n",
637 fprintf(stderr, "error deflating trace: %s\n", zs.msg);
644 fprintf(stderr, "error writing deflated trace: %s (%d)\n",
660 fprintf(stderr, "error dumping trace: %s (%d)\n", strerror(errno),
728 " -b N use a trace buffer size of N KB\n"
729 " -c trace into a circular buffer\n"
730 " -k fname,... trace the listed kernel functions\n"
733 " -t N trace for N seconds [defualt 5]\n"
734 " -z compress the trace dump\n"
735 " --async_start start circular trace and return immediatly\n"
736 " --async_dump dump the current contents of circular trace buffer\n"
738 " trace buffer\n"
851 printf("capturing trace...");
854 // We clear the trace after starting it because tracing gets enabled for
855 // each CPU individually in the kernel. Having the beginning of the trace
862 // Sleep to allow the trace to be captured.
874 // Stop the trace and restore the default settings.
892 // Reset the trace buffer size to 1.