[erlang-questions] erlang:trace/3 and cpu_timestamp on linux

mats cronqvist <>
Wed Jul 18 11:31:53 CEST 2012

  tracing with high-resolution timers doesn't seem to work un my linux 
boxes (centos6, in this case);

247> erlang:trace(all,true,[call,cpu_timestamp]).
** exception error: bad argument
     in function  erlang:trace/3
        called as erlang:trace(all,true,[call,cpu_timestamp])

  Seemingly, this is because this check in aclocal.m4;

   case $host_os in
           AC_MSG_RESULT([no; not stable])

  Indeed, commenting out the above and rebuilding beam works;

1> erlang:trace(all,true,[call,cpu_timestamp]).

  Is there any reason not to enable this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120718/3d64eee1/attachment.html>

More information about the erlang-questions mailing list