You copied the Doc URL to your clipboard.

Kernel annotation

You can insert the Annotate macros of Streamline in either user-space or kernel code. There are a few important considerations when using Annotate with kernel code.

Note

As the Annotate macros may block other processes, do not add them to kernel code in an interrupt context.

Insert Annotation macro codes in kernel code in the same way you would user space code, with the following exceptions:

  • Do not call ANNOTATE_SETUP in kernel code. This macro is a prerequisite to other Annotate macros in user space code, but not in kernel code.
  • ANNOTATE_DEFINE is also unnecessary. You do not need to add an instance of ANNOTATE_DEFINE in kernel code.

Related reference

Was this page helpful? Yes No