diff options
| author | 宋金时 <songjinshi@xiaomi.com> | 2018-05-10 02:05:03 +0000 |
|---|---|---|
| committer | Martijn Coenen <maco@android.com> | 2018-07-17 12:48:05 +0200 |
| commit | 157ecdc803759e9455b7ef27f3fad97361478837 (patch) | |
| tree | 4ca06a8552976875f96c161bc9c1c1a8e61d0a79 /tools/perf/scripts/python | |
| parent | 613e7993d78f5e06f2e56224f85d1068b98d7235 (diff) | |
UPSTREAM: ANDROID: binder: correct the cmd print for BINDER_WORK_RETURN_ERROR
When to execute binder_stat_br the e->cmd has been modifying as BR_OK
instead of the original return error cmd, in fact we want to know the
original return error, such as BR_DEAD_REPLY or BR_FAILED_REPLY, etc.
instead of always BR_OK, in order to avoid the value of the e->cmd is
always BR_OK, so we need assign the value of the e->cmd to cmd before
e->cmd = BR_OK.
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 838d5565669aa5bb7deb605684a5970d51d5eaf6)
Change-Id: I425b32c5419a491c6b9ceee7c00dde6513e0421d
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
