diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2015-05-06 14:48:20 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2015-05-06 14:48:20 +0300 |
| commit | 92066c767a9cf361979f4a27194dd58a538c7786 (patch) | |
| tree | 37e1ee305ce6e5fb34590f60574d6b43c2ed2459 /src | |
| parent | 3e936103ae7373d031c9c0f34015c69d4c811a69 (diff) | |
| download | rabbitmq-server-git-92066c767a9cf361979f4a27194dd58a538c7786.tar.gz | |
Rename
Per pull request feedback.
Diffstat (limited to 'src')
| -rw-r--r-- | src/credit_flow.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/credit_flow.erl b/src/credit_flow.erl index 4d30cf5001..090d5d378a 100644 --- a/src/credit_flow.erl +++ b/src/credit_flow.erl @@ -69,19 +69,19 @@ end). -ifdef(CREDIT_FLOW_TRACING). --define(TRACE_BLOCKED(THIS, FROM), rabbit_event:notify(credit_flow_blocked, - [{process, THIS}, - {process_info, erlang:process_info(THIS)}, +-define(TRACE_BLOCKED(SELF, FROM), rabbit_event:notify(credit_flow_blocked, + [{process, SELF}, + {process_info, erlang:process_info(SELF)}, {from, FROM}, {from_info, erlang:process_info(FROM)}, {timestamp, os:timestamp()}])). --define(TRACE_UNBLOCKED(THIS, FROM), rabbit_event:notify(credit_flow_unblocked, - [{process, THIS}, +-define(TRACE_UNBLOCKED(SELF, FROM), rabbit_event:notify(credit_flow_unblocked, + [{process, SELF}, {from, FROM}, {timestamp, os:timestamp()}])). -else. --define(TRACE_BLOCKED(THIS, FROM), ok). --define(TRACE_UNBLOCKED(THIS, FROM), ok). +-define(TRACE_BLOCKED(SELF, FROM), ok). +-define(TRACE_UNBLOCKED(SELF, FROM), ok). -endif. %%---------------------------------------------------------------------------- |
