diff options
author | Simon Glass | 2022-12-21 16:08:15 -0700 |
---|---|---|
committer | Simon Glass | 2023-01-18 11:49:12 -0700 |
commit | 33c60a38bb95c9954704857fe5edb29b749b9b18 (patch) | |
tree | 9cd3850586f99633e33f6f14f6488130ad0a04ee /doc/develop | |
parent | 5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c (diff) |
trace: Use notrace for short
The attribute syntax is quite verbose. Use the macro provided for this
purpose.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/develop')
-rw-r--r-- | doc/develop/trace.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/develop/trace.rst b/doc/develop/trace.rst index b22e068ef9e..5c7802da51a 100644 --- a/doc/develop/trace.rst +++ b/doc/develop/trace.rst @@ -185,7 +185,7 @@ this produces sensible results for your board. Suitable sources for this timer include high resolution timers, PWMs or profile timers if available. Most modern SOCs have a suitable timer for this. Make sure that you mark this timer (and anything it calls) with -__attribute__((no_instrument_function)) so that the trace library can +notrace so that the trace library can use it without causing an infinite loop. |