Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_native
Commits
16072e7e
Commit
16072e7e
authored
9 years ago
by
Mark Salyzyn
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "dumpstate: Continued build breakage"
parents
c658aee7
791ddd33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
cmds/dumpstate/Android.mk
cmds/dumpstate/Android.mk
+1
-1
cmds/dumpstate/utils.cpp
cmds/dumpstate/utils.cpp
+4
-4
No files found.
cmds/dumpstate/Android.mk
View file @
16072e7e
...
...
@@ -16,7 +16,7 @@ LOCAL_MODULE := dumpstate
LOCAL_SHARED_LIBRARIES
:=
libcutils liblog libselinux
LOCAL_HAL_STATIC_LIBRARIES
:=
libdumpstate
LOCAL_CFLAGS
+=
-Wall
-Werror
-Wno-unused-parameter
-std
=
gnu99
LOCAL_CFLAGS
+=
-Wall
-Werror
-Wno-unused-parameter
LOCAL_INIT_RC
:=
dumpstate.rc
include
$(BUILD_EXECUTABLE)
This diff is collapsed.
Click to expand it.
cmds/dumpstate/utils.cpp
View file @
16072e7e
...
...
@@ -294,10 +294,10 @@ void show_showtime(int pid, const char *name) {
// field 42 is iotime
unsigned
long
long
utime
=
0
,
stime
=
0
,
iotime
=
0
;
if
(
sscanf
(
buffer
,
"%*
ll
u %*s %*s %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d "
"%*
ll
d %*
ll
d %llu %llu %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d "
"%*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d "
"%*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %*
ll
d %llu "
,
"%*u %*s %*s %*d %*d %*d %*d %*d %*d %*d %*d "
"%*d %*d %llu %llu %*d %*d %*d %*d %*d %*d "
"%*d %*d %*d %*d %*d %*d %*d %*d %*d %*d "
"%*d %*d %*d %*d %*d %*d %*d %*d %*d %llu "
,
&
utime
,
&
stime
,
&
iotime
)
!=
3
)
{
return
;
}
...
...
This diff is collapsed.
Click to expand it.
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