Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
cd891520
Commit
cd891520
authored
May 07, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pagemap: Make show_pagemap use pb_show engine only
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
add21b75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
cr-show.c
cr-show.c
+6
-7
No files found.
cr-show.c
View file @
cd891520
...
...
@@ -212,15 +212,14 @@ void print_image_data(int fd, unsigned int length, int show)
xfree
(
data
);
}
void
show_pagemap
(
int
fd
)
static
void
show_pagemaps
(
int
fd
,
void
*
obj
)
{
PagemapHead
*
h
;
pb_show_plain_pretty
(
fd
,
PB_PAGEMAP
,
"2:%u"
);
}
if
(
pb_read_one
(
fd
,
&
h
,
PB_PAGEMAP_HEAD
)
<
0
)
return
;
pr_msg
(
"Pages id: %u
\n
"
,
h
->
pages_id
);
pagemap_head__free_unpacked
(
h
,
NULL
);
return
pb_show_plain_pretty
(
fd
,
PB_PAGEMAP
,
"2:%u"
);
void
show_pagemap
(
int
fd
)
{
do_pb_show_plain
(
fd
,
PB_PAGEMAP_HEAD
,
1
,
show_pagemaps
,
NULL
);
}
void
show_siginfo
(
int
fd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment