Skip to content
Discussion options

You must be logged in to vote

Hi!

Is the libperfetto_c production ready?

Yes, as much as the C++ API at this point.

Is the API for the c library stable? I.e. if I start instrumenting all my code I can I be sure I will not need to rewrite all of it in a newer Perfetto version? I do not care so much about the ABI (see next question)

Mostly. We had one ABI breakage since the code was checked in, but zero API breakages. I don't expect API breakages in the future.

Is there any reason to not statically link that code?

None at all. You can statically link the code.

What are the tradeoffs to consider between the c and the c++ SDK?

Disadvantages of the C API compared to the C++ API:

  • The C++ API is more used/tested.
  • Wr…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@carloscaballero-tomtom
Comment options

@ddiproietto
Comment options

Answer selected by LalitMaganti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants