Home | History | Annotate | Download | only in atrace

Lines Matching full:trace

36 #include <utils/Trace.h>
168 "/sys/kernel/debug/tracing/trace";
289 // Enable or disable overwriting of the kernel trace buffers. Disabling this
290 // will cause tracing to stop once the trace buffers have filled up.
302 // Clear the contents of the kernel trace.
308 // Set the size of the kernel's trace buffer in kilobytes.
362 // Set the trace tags that userland tracing uses, and poke the running
369 fprintf(stderr, "error setting trace tags system property\n");
380 fprintf(stderr, "error setting trace app system property\n");
434 "to trace.\n", func);
444 // Set the comma separated list of functions that the kernel is to trace.
484 // Set all the kernel tracing settings to the desired state for this trace
567 // Read the current kernel trace and write it to stdout.
604 fprintf(stderr, "error reading trace: %s (%d)\n",
620 fprintf(stderr, "error writing deflated trace: %s (%d)\n",
633 fprintf(stderr, "error deflating trace: %s\n", zs.msg);
640 fprintf(stderr, "error writing deflated trace: %s (%d)\n",
656 fprintf(stderr, "error dumping trace: %s (%d)\n", strerror(errno),
724 " -b N use a trace buffer size of N KB\n"
725 " -c trace into a circular buffer\n"
726 " -k fname,... trace the listed kernel functions\n"
729 " -t N trace for N seconds [defualt 5]\n"
730 " -z compress the trace dump\n"
731 " --async_start start circular trace and return immediatly\n"
732 " --async_dump dump the current contents of circular trace buffer\n"
734 " trace buffer\n"
847 printf("capturing trace...");
850 // We clear the trace after starting it because tracing gets enabled for
851 // each CPU individually in the kernel. Having the beginning of the trace
858 // Sleep to allow the trace to be captured.
870 // Stop the trace and restore the default settings.
888 // Reset the trace buffer size to 1.