diff options
| author | San Mehat <san@google.com> | 2010-04-27 10:53:35 -0700 |
|---|---|---|
| committer | San Mehat <san@google.com> | 2010-04-27 10:53:35 -0700 |
| commit | 57fff78a70c82ca09beb91c4f92d97b6f0b897e4 (patch) | |
| tree | 2ee1dffe8135c478ff6bd1f60c8539eacff1bf01 /cmds/dumpstate/dumpstate.h | |
| parent | 2e4b98dcd88f14fdb35e46236ec916493c570f28 (diff) | |
| download | frameworks_base-57fff78a70c82ca09beb91c4f92d97b6f0b897e4.zip frameworks_base-57fff78a70c82ca09beb91c4f92d97b6f0b897e4.tar.gz frameworks_base-57fff78a70c82ca09beb91c4f92d97b6f0b897e4.tar.bz2 | |
dumpstate: Add blocked process wait-channel info to bugreport
Fix for http://b/2630027
Change-Id: I3606d8bf95c58df2b290dbd13f48538d82f16088
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'cmds/dumpstate/dumpstate.h')
| -rw-r--r-- | cmds/dumpstate/dumpstate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.h b/cmds/dumpstate/dumpstate.h index 6d48a85..682eafd 100644 --- a/cmds/dumpstate/dumpstate.h +++ b/cmds/dumpstate/dumpstate.h @@ -38,4 +38,10 @@ pid_t redirect_to_file(FILE *redirect, char *path, int gzip_level); /* dump Dalvik stack traces, return the trace file location (NULL if none) */ const char *dump_vm_traces(); +/* for each process in the system, run the specified function */ +void for_each_pid(void (*func)(int, const char *), const char *header); + +/* Displays a blocked processes in-kernel wait channel */ +void show_wchan(int pid, const char *name); + #endif /* _DUMPSTATE_H_ */ |
