Home
last modified time | relevance | path

Searched refs:tracefs_file_exists (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/libtracefs/Documentation/
H A Dlibtracefs-instances-files.txt6 tracefs_file_exists, tracefs_dir_exists,
15 bool *tracefs_file_exists*(struct tracefs_instance pass:[*]_instance_, char pass:[*]_name_);
29 The *tracefs_file_exists()* function checks if a file with _name_ exists in _instance_.
43 The *tracefs_file_exists()* and *tracefs_dir_exists()* functions return true if the
62 if (tracefs_file_exists(inst,"trace_clock")) {
H A Dlibtracefs-instances-file-manip.txt88 if (tracefs_file_exists(inst,"trace_clock")) {
H A Dlibtracefs.txt29 bool *tracefs_file_exists*(struct tracefs_instance pass:[*]_instance_, char pass:[*]_name_);
/aosp_15_r20/external/trace-cmd/utest/
H A Dtracefs-utest.c302 CU_TEST(tracefs_file_exists(NULL, (char *)name) == false); in test_instance_file()
304 CU_TEST(tracefs_file_exists(instance, (char *)name) == false); in test_instance_file()
307 CU_TEST(tracefs_file_exists(NULL, CUR_TRACER) == true); in test_instance_file()
309 CU_TEST(tracefs_file_exists(instance, CUR_TRACER) == true); in test_instance_file()
312 CU_TEST(tracefs_file_exists(NULL, PER_CPU) == false); in test_instance_file()
314 CU_TEST(tracefs_file_exists(instance, PER_CPU) == false); in test_instance_file()
/aosp_15_r20/external/libtracefs/utest/
H A Dtracefs-utest.c1598 CU_TEST(tracefs_file_exists(NULL, (char *)name) == false); in test_instance_file()
1600 CU_TEST(tracefs_file_exists(instance, (char *)name) == false); in test_instance_file()
1603 CU_TEST(tracefs_file_exists(NULL, CUR_TRACER) == true); in test_instance_file()
1605 CU_TEST(tracefs_file_exists(instance, CUR_TRACER) == true); in test_instance_file()
1608 CU_TEST(tracefs_file_exists(NULL, PER_CPU) == false); in test_instance_file()
1610 CU_TEST(tracefs_file_exists(instance, PER_CPU) == false); in test_instance_file()
/aosp_15_r20/external/libtracefs/include/
H A Dtracefs.h64 bool tracefs_file_exists(struct tracefs_instance *instance, const char *name);
/aosp_15_r20/external/libtracefs/src/
H A Dtracefs-dynevents.c279 if (!tracefs_file_exists(NULL, DYNEVENTS_EVENTS)) in init_devent_desc()
H A Dtracefs-tools.c364 return tracefs_file_exists(instance, file); in tracefs_option_is_supported()
H A Dtracefs-instance.c666 bool tracefs_file_exists(struct tracefs_instance *instance, const char *name) in tracefs_file_exists() function
H A Dtracefs-events.c676 ret = tracefs_file_exists(instance, path); in tracefs_event_file_exists()
/aosp_15_r20/external/trace-cmd/tracecmd/
H A Dtrace-stat.c130 if (!tracefs_file_exists(instance->tracefs, name)) in report_file()
H A Dtrace-record.c332 tracefs_file_exists(top_instance.tracefs, "set_event_pid")) in test_set_event_pid()
335 tracefs_file_exists(top_instance.tracefs, "options/event-fork")) in test_set_event_pid()
338 tracefs_file_exists(top_instance.tracefs, "options/function-fork")) in test_set_event_pid()
934 if (!tracefs_file_exists(instance->tracefs, "set_ftrace_pid")) in reset_save_ftrace_pid()
953 if (!tracefs_file_exists(instance->tracefs, "set_ftrace_pid")) in update_ftrace_pid()
5315 if (!tracefs_file_exists(instance->tracefs, "error_log")) in clear_instance_error_log()