blob: a9106dbc7888ec664192f4238b1f330ed23ac580 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
%% TRACECASE1_ON.TRC
%% -----------------------------------------------------------------------------
%% This is a test trace case to be used by the inviso_tool_SUITE.
%% Trace case setting a local pattern on math:module_info/1 and process flags
%% on a test process which is supposed to be started by the test environment.
%%
%% ProcessName=atom(), variable set in the test environment.
%% Nodes=list(), inviso_tool variable - all traced nodes.
%% -----------------------------------------------------------------------------
inviso:tpl(Nodes,math,module_info,1,[]).
inviso:tf(Nodes,ProcessName,[call]).
lists:foreach(fun(N)->rpc:call(N,ets,update_counter,[test_proc_tab,counter,1]) end,
Nodes).
timer:sleep(500).
%% END-OF-TRACE-CASE
|