Home
last modified time | relevance | path

Searched refs:tracefs_dir_exists (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/libtracefs/Documentation/
H A Dlibtracefs-instances-files.txt6 tracefs_file_exists, tracefs_dir_exists,
16 bool *tracefs_dir_exists*(struct tracefs_instance pass:[*]_instance_, char pass:[*]_name_);
31 The *tracefs_dir_exists()* function checks if a directory with _name_ exists in _instance_.
43 The *tracefs_file_exists()* and *tracefs_dir_exists()* functions return true if the
91 if (tracefs_dir_exists(inst,"options")) {
H A Dlibtracefs-instances-file-manip.txt117 if (tracefs_dir_exists(inst,"options")) {
H A Dlibtracefs.txt30 bool *tracefs_dir_exists*(struct tracefs_instance pass:[*]_instance_, char pass:[*]_name_);
/aosp_15_r20/external/trace-cmd/utest/
H A Dtracefs-utest.c303 CU_TEST(tracefs_dir_exists(NULL, (char *)name) == false); in test_instance_file()
305 CU_TEST(tracefs_dir_exists(instance, (char *)name) == false); in test_instance_file()
308 CU_TEST(tracefs_dir_exists(NULL, CUR_TRACER) == false); in test_instance_file()
310 CU_TEST(tracefs_dir_exists(instance, CUR_TRACER) == false); in test_instance_file()
313 CU_TEST(tracefs_dir_exists(NULL, PER_CPU) == true); in test_instance_file()
315 CU_TEST(tracefs_dir_exists(instance, PER_CPU) == true); in test_instance_file()
/aosp_15_r20/external/libtracefs/utest/
H A Dtracefs-utest.c1599 CU_TEST(tracefs_dir_exists(NULL, (char *)name) == false); in test_instance_file()
1601 CU_TEST(tracefs_dir_exists(instance, (char *)name) == false); in test_instance_file()
1604 CU_TEST(tracefs_dir_exists(NULL, CUR_TRACER) == false); in test_instance_file()
1606 CU_TEST(tracefs_dir_exists(instance, CUR_TRACER) == false); in test_instance_file()
1609 CU_TEST(tracefs_dir_exists(NULL, PER_CPU) == true); in test_instance_file()
1611 CU_TEST(tracefs_dir_exists(instance, PER_CPU) == true); in test_instance_file()
/aosp_15_r20/external/libtracefs/include/
H A Dtracefs.h65 bool tracefs_dir_exists(struct tracefs_instance *instance, const char *name);
/aosp_15_r20/external/libtracefs/src/
H A Dtracefs-instance.c678 bool tracefs_dir_exists(struct tracefs_instance *instance, const char *name) in tracefs_dir_exists() function