aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/src')
-rw-r--r--lib/tools/src/eprof.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tools/src/eprof.erl b/lib/tools/src/eprof.erl
index 2b71b16c82..6a0bd9ff9c 100644
--- a/lib/tools/src/eprof.erl
+++ b/lib/tools/src/eprof.erl
@@ -76,14 +76,14 @@ profile(Pids, Fun) ->
profile(Pids, Fun, {'_','_','_'}).
profile(Pids, Fun, Pattern) ->
- profile(Pids, Pattern, erlang, apply, [Fun,[]]).
+ profile(Pids, erlang, apply, [Fun,[]], Pattern).
profile(Pids, M, F, A) ->
- profile(Pids, {'_','_','_'}, M, F, A).
+ profile(Pids, M, F, A, {'_','_','_'}).
-profile(Pids, Pattern, M, F, A) ->
+profile(Pids, M, F, A, Pattern) ->
start(),
- gen_server:call(?MODULE, {profile,Pids,Pattern, M,F,A},infinity).
+ gen_server:call(?MODULE, {profile,Pids,Pattern,M,F,A},infinity).
dump() ->
gen_server:call(?MODULE, dump, infinity).