Searched refs:__tracefs_write (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/ring-buffer/ |
H A D | map_test.c | 24 static int __tracefs_write(const char *path, const char *value) in __tracefs_write() function 47 ret = __tracefs_write(path, str); in __tracefs_write_int() 58 ASSERT_EQ(__tracefs_write((path), (value)), 0) 64 if (__tracefs_write(TRACEFS_ROOT"/trace", "")) in tracefs_reset() 66 if (__tracefs_write(TRACEFS_ROOT"/set_event", "")) in tracefs_reset() 68 if (__tracefs_write(TRACEFS_ROOT"/current_tracer", "nop")) in tracefs_reset() 286 __tracefs_write(TRACEFS_ROOT"/events/sched/sched_switch/trigger", in FIXTURE_TEARDOWN() 312 ASSERT_EQ(__tracefs_write(TRACEFS_ROOT"/events/sched/sched_switch/trigger", in TEST_F() 314 ASSERT_EQ(__tracefs_write(TRACEFS_ROOT"/snapshot", in TEST_F()
|