aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/src/cdv_detail_wx.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-06-05 12:58:45 +0200
committerDan Gudmundsson <[email protected]>2015-06-05 12:58:45 +0200
commitd541405a28878ad94b8e92d8cc32f6376a9cd058 (patch)
tree9cf074bf5871d79024debc2030eeecc8cba08c03 /lib/observer/src/cdv_detail_wx.erl
parent24a161d8c479e70ad55ebac18cd92ecc41dd607c (diff)
parentb65330a798ffa38a93cc161596a826b6018cebd3 (diff)
downloadotp-d541405a28878ad94b8e92d8cc32f6376a9cd058.tar.gz
otp-d541405a28878ad94b8e92d8cc32f6376a9cd058.tar.bz2
otp-d541405a28878ad94b8e92d8cc32f6376a9cd058.zip
Merge branch 'dgud/observer/cdw-update/OTP-12363'
* dgud/observer/cdw-update/OTP-12363: observer: cdv add scheduler information observer: cdv add more ets information Reorder scheduler information in crashdumps
Diffstat (limited to 'lib/observer/src/cdv_detail_wx.erl')
-rw-r--r--lib/observer/src/cdv_detail_wx.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/observer/src/cdv_detail_wx.erl b/lib/observer/src/cdv_detail_wx.erl
index dc93507a36..ec0d877d87 100644
--- a/lib/observer/src/cdv_detail_wx.erl
+++ b/lib/observer/src/cdv_detail_wx.erl
@@ -19,7 +19,7 @@
-behaviour(wx_object).
--export([start_link/3]).
+-export([start_link/4]).
-export([init/1, handle_event/2, handle_cast/2, terminate/2, code_change/3,
handle_call/3, handle_info/2]).
@@ -38,13 +38,13 @@
-define(ID_NOTEBOOK, 604).
%% Detail view
-start_link(Id, ParentFrame, Callback) ->
- wx_object:start_link(?MODULE, [Id, ParentFrame, Callback, self()], []).
+start_link(Id, Data, ParentFrame, Callback) ->
+ wx_object:start_link(?MODULE, [Id, Data, ParentFrame, Callback, self()], []).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-init([Id, ParentFrame, Callback, Parent]) ->
- case Callback:get_details(Id) of
+init([Id, Data, ParentFrame, Callback, Parent]) ->
+ case Callback:get_details(Id, Data) of
{ok,Details} ->
init(Id,ParentFrame,Callback,Parent,Details);
{yes_no, Info, Fun} ->