diff options
author | Lars Thorsen <[email protected]> | 2010-12-01 10:52:20 +0100 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2010-12-01 10:52:20 +0100 |
commit | bd5552f188fefa16ab54de64419b675799e6b500 (patch) | |
tree | c2584c8f13d1e2e7898638eeddedfea935a69a80 | |
parent | bfa69f08f63978db55e31931db1c6c6af3e7b4ae (diff) | |
parent | a9db09d12220f9eac9d3ddd4265215ac48bebd3b (diff) | |
download | otp-bd5552f188fefa16ab54de64419b675799e6b500.tar.gz otp-bd5552f188fefa16ab54de64419b675799e6b500.tar.bz2 otp-bd5552f188fefa16ab54de64419b675799e6b500.zip |
Merge branch 'lars/et/use-et-in-trace-pattern/OTP-8904' into dev
* lars/et/use-et-in-trace-pattern/OTP-8904:
Fix error when using module et in trace patterns
-rw-r--r-- | lib/et/src/et_selector.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/et/src/et_selector.erl b/lib/et/src/et_selector.erl index f39f21aa70..c8e9c907b2 100644 --- a/lib/et/src/et_selector.erl +++ b/lib/et/src/et_selector.erl @@ -115,13 +115,13 @@ change_pattern({Mod, Pattern}) when is_atom(Mod) -> old_ctp({Mod, _Fun, Args}) -> case Mod of - et -> ignore; + et -> {ok, ignore}; _ -> dbg:ctp({Mod, report_event, Args}) end. old_tp({Mod, _Fun, Args}, Pattern) -> case Mod of - et -> ignore; + et -> {ok, ignore}; _ -> dbg:tp({Mod, report_event, Args}, Pattern) end. |