diff options
author | Siri Hansen <[email protected]> | 2014-05-28 11:59:02 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-05-28 11:59:02 +0200 |
commit | 235d02334181df0bed92b8c6af07d092627691fe (patch) | |
tree | af1167c109cf58a081a46736fe9f2c9c4c4bce07 /lib/observer/src/cdv_timer_cb.erl | |
parent | 54ba6869f4807a5b70868eb0204900d9de0d9f43 (diff) | |
parent | dbd2604939e92c110277d941589b8965fdda4270 (diff) | |
download | otp-235d02334181df0bed92b8c6af07d092627691fe.tar.gz otp-235d02334181df0bed92b8c6af07d092627691fe.tar.bz2 otp-235d02334181df0bed92b8c6af07d092627691fe.zip |
Merge branch 'siri/cdv-timer-reg-proc/OTP-11919' into maint
* siri/cdv-timer-reg-proc/OTP-11919:
[cdv] Allow registered name as owner of timer in crashdump
Diffstat (limited to 'lib/observer/src/cdv_timer_cb.erl')
-rw-r--r-- | lib/observer/src/cdv_timer_cb.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/observer/src/cdv_timer_cb.erl b/lib/observer/src/cdv_timer_cb.erl index 9cdbfa05a9..d44592cf18 100644 --- a/lib/observer/src/cdv_timer_cb.erl +++ b/lib/observer/src/cdv_timer_cb.erl @@ -27,18 +27,21 @@ %% Defines -define(COL_OWNER, 0). --define(COL_MSG, ?COL_OWNER+1). +-define(COL_NAME, ?COL_OWNER+1). +-define(COL_MSG, ?COL_NAME+1). -define(COL_TIME, ?COL_MSG+1). %% Callbacks for cdv_virtual_list_wx col_to_elem(id) -> col_to_elem(?COL_OWNER); col_to_elem(?COL_OWNER) -> #timer.pid; +col_to_elem(?COL_NAME) -> #timer.name; col_to_elem(?COL_MSG) -> #timer.msg; col_to_elem(?COL_TIME) -> #timer.time. col_spec() -> [{"Owner", ?wxLIST_FORMAT_LEFT, 110}, - {"Message", ?wxLIST_FORMAT_LEFT, 400}, + {"Owner name", ?wxLIST_FORMAT_LEFT, 150}, + {"Message", ?wxLIST_FORMAT_LEFT, 300}, {"Time left (ms)", ?wxLIST_FORMAT_RIGHT, 80}]. get_info(Owner) -> |