log to ftrace resources access
use int instead of boolean data type