You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@cloudera.org> on 2016/05/12 23:02:59 UTC

[kudu-CR] Don't increment the trace TcmallocContentionCycles counter on OSX

David Ribeiro Alves has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3054

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
---
M src/kudu/util/spinlock_profiling.cc
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/54/3054/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3054
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70a8d809c956aa72274abfd017119faf2aab0dc7
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>