2bd3a1701c
test API: void sched_note_string(FAR const char *buf); void sched_note_dump(uint32_t module, uint8_t event, FAR const void *buf, size_t len); void sched_note_printf(FAR const char *fmt, ...) printflike(1, 2); void sched_note_bprintf(uint32_t module, uint8_t event, FAR const char *fmt, ...) printflike(3, 4); https://github.com/apache/incubator-nuttx/pull/4963 suggestion: 1. add "&" after the command when running this example. 2. must enable SCHED_INSTRUMENTATION_DUMP, and that enable CONFIG_SYSTEM_TRACE can help you view log.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
############################################################################
|
|
# apps/examples/noteprintf/Make.defs
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership. The
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance with the
|
|
# License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
#
|
|
############################################################################
|
|
|
|
ifneq ($(CONFIG_EXAMPLES_NOTEPRINTF),)
|
|
CONFIGURED_APPS += $(APPDIR)/examples/noteprintf
|
|
endif
|