@@ -79,29 +79,30 @@ int main(int argc, FAR char *argv[])
79
79
80
80
while (1 )
81
81
{
82
- SCHED_NOTE_PRINTF ("shced note test count = %d." , count ++ );
83
- SCHED_NOTE_STRING (str );
84
- SCHED_NOTE_DUMP (1 , & binary , sizeof (struct binary ));
85
- SCHED_NOTE_BPRINTF (2 , "%hhd" , c );
86
- SCHED_NOTE_BPRINTF (3 , "%hd" , s );
87
- SCHED_NOTE_BPRINTF (4 , "%d" , i );
88
- SCHED_NOTE_BPRINTF (5 , "%ld" , l );
82
+ sched_note_printf (NOTE_TAG_ALWAYS ,
83
+ "shced note test count = %d." , count ++ );
84
+ sched_note_string (NOTE_TAG_ALWAYS , str );
85
+ sched_note_dump (NOTE_TAG_ALWAYS , 1 , & binary , sizeof (struct binary ));
86
+ sched_note_bprintf (NOTE_TAG_ALWAYS , 2 , "%hhd" , c );
87
+ sched_note_bprintf (NOTE_TAG_ALWAYS , 3 , "%hd" , s );
88
+ sched_note_bprintf (NOTE_TAG_ALWAYS , 4 , "%d" , i );
89
+ sched_note_bprintf (NOTE_TAG_ALWAYS , 5 , "%ld" , l );
89
90
#ifdef CONFIG_HAVE_LONG_LONG
90
- SCHED_NOTE_BPRINTF ( 6 , "%lld" , ll );
91
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 6 , "%lld" , ll );
91
92
#endif
92
- SCHED_NOTE_BPRINTF ( 7 , "%jd" , im );
93
- SCHED_NOTE_BPRINTF ( 8 , "%zd" , sz );
94
- SCHED_NOTE_BPRINTF ( 9 , "%td" , ptr );
93
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 7 , "%jd" , im );
94
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 8 , "%zd" , sz );
95
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 9 , "%td" , ptr );
95
96
#ifdef CONFIG_HAVE_FLOAT
96
- SCHED_NOTE_BPRINTF ( 10 , "%e" , f );
97
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 10 , "%e" , f );
97
98
#endif
98
99
#ifdef CONFIG_HAVE_DOUBLE
99
- SCHED_NOTE_BPRINTF ( 11 , "%le" , d );
100
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 11 , "%le" , d );
100
101
#endif
101
102
#ifdef CONFIG_HAVE_LONG_DOUBLE
102
- SCHED_NOTE_BPRINTF ( 12 , "%Le" , ld );
103
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 12 , "%Le" , ld );
103
104
#endif
104
- SCHED_NOTE_BPRINTF ( 13 ,
105
+ sched_note_bprintf ( NOTE_TAG_ALWAYS , 13 ,
105
106
"%hhd %hd %d %ld %lld %jd %zd %td" ,
106
107
c , s , i , l , ll , im , sz , ptr );
107
108
usleep (10 );
0 commit comments