Home | History | Annotate | Download | only in atrace

Lines Matching refs:category

50     // The name identifying the category.
53 // A longer description of the category.
56 // The userland tracing tags that the category enables.
59 // The fname==NULL terminated list of /sys/ files that the category
63 // category.
243 // Check whether the category is supported on the device with the current
244 // rootness. A category is supported only if all its required /sys/ files are
245 // writable and if enabling the category will enable one or more tracing tags
247 static bool isCategorySupported(const TracingCategory& category)
249 bool ok = category.tags != 0;
251 const char* path = category.sysfiles[i].path;
252 bool req = category.sysfiles[i].required == REQ;
268 // Check whether the category would be supported on the device if the user
272 static bool isCategorySupportedForRoot(const TracingCategory& category)
274 bool ok = category.tags != 0;
276 const char* path = category.sysfiles[i].path;
277 bool req = category.sysfiles[i].required == REQ;
517 // Enable all the sysfs enables that are in an enabled category.
697 fprintf(stderr, "error: category \"%s\" requires root "
700 fprintf(stderr, "error: category \"%s\" is not supported "
707 fprintf(stderr, "error: unknown tracing category \"%s\"\n", name);
773 fprintf(stderr, "error enabling tracing category \"%s\"\n", argv[i]);