Adjust Renren and Map auto test scripts.
Sync ftrace db-related code.