diff options
author | Simon Glass <sjg@chromium.org> | 2022-12-22 02:08:15 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-18 21:49:12 +0300 |
commit | 33c60a38bb95c9954704857fe5edb29b749b9b18 (patch) | |
tree | 9cd3850586f99633e33f6f14f6488130ad0a04ee /doc | |
parent | 5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c (diff) | |
download | u-boot-33c60a38bb95c9954704857fe5edb29b749b9b18.tar.xz |
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')
-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 b22e068ef9..5c7802da51 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. |