diff options
-rwxr-xr-x | src/atrace/atrace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atrace/atrace.cpp b/src/atrace/atrace.cpp index 6293b06..3fabf0b 100755 --- a/src/atrace/atrace.cpp +++ b/src/atrace/atrace.cpp @@ -514,7 +514,7 @@ static bool setTagsProperty(uint64_t tags) return false; } //for auto-mounting tracingfs (>= linux 4.1.x) - system("ls -al /sys/kernel/debug/tracing > /dev/null 2>&1"); + system("/usr/bin/ls -al /sys/kernel/debug/tracing > /dev/null 2>&1"); if(!initSysfsPermission()) { fprintf(stderr, "Fail to init sysfs permisions: %s(%d)\n", strerror_r(errno, str_error, sizeof(str_error)), errno); munmap(sm_for_enabled_tag, sizeof(uint64_t)); |