[PATCH] OProfile: fix d_path() usage