tracing_init_dentry() auto-mount tracefs in kernel 4.10.x.
This initializing is triggered fs_initcall.
So, Removed code in this commit is meaningless.
Change-Id: I9ae499131d6f7a8d2dd6e6c2c2d09e33585e3bf6
Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com>
close(fd);
return false;
}
- //for auto-mounting tracingfs (>= linux 4.1.x)
- system("/usr/bin/ls -al /sys/kernel/debug/tracing > /dev/null 2>&1");
memset(sm_for_enabled_tag, 0, sizeof(uint64_t));
if(-1 == rename("/tmp/tmp_tag", ENABLED_TAG_FILE)) {