add -Wall and finish value prof basicly

Signed-off-by: xiehuc <xiehuc@gmail.com>