Searched refs:tracefs_file_exists (Results 1 – 12 of 12) sorted by relevance
/aosp_15_r20/external/libtracefs/Documentation/ |
H A D | libtracefs-instances-files.txt | 6 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 D | libtracefs-instances-file-manip.txt | 88 if (tracefs_file_exists(inst,"trace_clock")) {
|
H A D | libtracefs.txt | 29 bool *tracefs_file_exists*(struct tracefs_instance pass:[*]_instance_, char pass:[*]_name_);
|
/aosp_15_r20/external/trace-cmd/utest/ |
H A D | tracefs-utest.c | 302 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 D | tracefs-utest.c | 1598 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 D | tracefs.h | 64 bool tracefs_file_exists(struct tracefs_instance *instance, const char *name);
|
/aosp_15_r20/external/libtracefs/src/ |
H A D | tracefs-dynevents.c | 279 if (!tracefs_file_exists(NULL, DYNEVENTS_EVENTS)) in init_devent_desc()
|
H A D | tracefs-tools.c | 364 return tracefs_file_exists(instance, file); in tracefs_option_is_supported()
|
H A D | tracefs-instance.c | 666 bool tracefs_file_exists(struct tracefs_instance *instance, const char *name) in tracefs_file_exists() function
|
H A D | tracefs-events.c | 676 ret = tracefs_file_exists(instance, path); in tracefs_event_file_exists()
|
/aosp_15_r20/external/trace-cmd/tracecmd/ |
H A D | trace-stat.c | 130 if (!tracefs_file_exists(instance->tracefs, name)) in report_file()
|
H A D | trace-record.c | 332 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()
|