Lines Matching refs:category
51 // The name identifying the category.
54 // A longer description of the category.
57 // The userland tracing tags that the category enables.
60 // The fname==NULL terminated list of /sys/ files that the category
64 // category.
263 // Check whether the category is supported on the device with the current
264 // rootness. A category is supported only if all its required /sys/ files are
265 // writable and if enabling the category will enable one or more tracing tags
267 static bool isCategorySupported(const TracingCategory& category)
269 bool ok = category.tags != 0;
271 const char* path = category.sysfiles[i].path;
272 bool req = category.sysfiles[i].required == REQ;
288 // Check whether the category would be supported on the device if the user
292 static bool isCategorySupportedForRoot(const TracingCategory& category)
294 bool ok = category.tags != 0;
296 const char* path = category.sysfiles[i].path;
297 bool req = category.sysfiles[i].required == REQ;
582 // Enable all the sysfs enables that are in an enabled category.
762 fprintf(stderr, "error: category \"%s\" requires root "
765 fprintf(stderr, "error: category \"%s\" is not supported "
772 fprintf(stderr, "error: unknown tracing category \"%s\"\n", name);
838 fprintf(stderr, "error enabling tracing category \"%s\"\n", argv[i]);