[CRIU] [PATCH urgent] proc_parse: Update inotify format
Pavel Emelyanov
xemul at parallels.com
Tue Dec 4 10:13:54 EST 2012
On 12/04/2012 07:08 PM, Cyrill Gorcunov wrote:
> Since fdinfo patches were merged to -mm
> tree the output format has been slightly
> changed. So update our tool accordingly.
Is -rc8 up-to-date?
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> proc_parse.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/proc_parse.c b/proc_parse.c
> index e26639c..c711271 100644
> --- a/proc_parse.c
> +++ b/proc_parse.c
> @@ -900,9 +900,9 @@ int parse_fdinfo(int fd, int type,
> if (type != FD_TYPES__INOTIFY)
> goto parse_err;
> ret = sscanf(str,
> - "inotify wd: %8d ino: %16lx sdev: %8x "
> - "mask: %8x ignored_mask: %8x "
> - "fhandle-bytes: %8x fhandle-type: %8x "
> + "inotify wd:%x ino:%lx sdev:%x "
> + "mask:%x ignored_mask:%x "
> + "fhandle-bytes:%x fhandle-type:%x "
> "f_handle: %n",
> &entry.ify.wd, &entry.ify.i_ino, &entry.ify.s_dev,
> &entry.ify.mask, &entry.ify.ignored_mask,
>
More information about the CRIU
mailing list