This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new b1bab5c783 fs/vfs/fs_poll: Add noinstrument_function to poll_notify 
function
b1bab5c783 is described below

commit b1bab5c7837f9bbb9981a3dbb21a1b6beed8276e
Author: Tiago Medicci Serrano <tiago.medi...@espressif.com>
AuthorDate: Thu Feb 27 16:29:18 2025 -0300

    fs/vfs/fs_poll: Add noinstrument_function to poll_notify function
    
    Add the noinstrument_function attribute to the poll_notify function
    to avoid it being looped if -finstrument-functions is set to the
    fs/vfs files.
    
    Signed-off-by: Tiago Medicci Serrano <tiago.medi...@espressif.com>
---
 fs/vfs/fs_poll.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/vfs/fs_poll.c b/fs/vfs/fs_poll.c
index aa82b226ce..f309c655e9 100644
--- a/fs/vfs/fs_poll.c
+++ b/fs/vfs/fs_poll.c
@@ -272,6 +272,7 @@ void poll_default_cb(FAR struct pollfd *fds)
  *
  ****************************************************************************/
 
+noinstrument_function
 void poll_notify(FAR struct pollfd **afds, int nfds, pollevent_t eventset)
 {
   int i;

Reply via email to