David Ribeiro Alves has submitted this change and it was merged.

Change subject: Don't increment the trace TcmallocContentionCycles counter on 
OSX
......................................................................


Don't increment the trace TcmallocContentionCycles counter on OSX

Currently the OSX build is broken because of this call, on line 341
of spinlock_profiling.cc:
...
t->metrics()->IncrementTcmallocContentionCycles(wait_cycles);
...

Not sure what the cause is, but ifdef'ing it out on OSX fixes the problem.

Change-Id: I70a8d809c956aa72274abfd017119faf2aab0dc7
Reviewed-on: http://gerrit.cloudera.org:8080/3054
Tested-by: Kudu Jenkins
Reviewed-by: David Ribeiro Alves <[email protected]>
---
M src/kudu/util/spinlock_profiling.cc
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  David Ribeiro Alves: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/3054
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I70a8d809c956aa72274abfd017119faf2aab0dc7
Gerrit-PatchSet: 5
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
Gerrit-Reviewer: Jean-Daniel Cryans
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to