zephyr/subsys
Torbjörn Leksell 16bbb8ef34 Tracing: Trace hook support macros
Adds generic trace hook macros for inserting trace hook for
function entry, exit, blocking, and object initialization
with a variable number of arguments (objects, return values,
etc.). Utilizing macro concatenation these macros produce
trace hooks of a similar format to the old trace system
with SYS_TRACING_OBJ_FUNC(k_thread, switched_in) being
turned into sys_trace_k_thread_switched_in() by the
preprocessor. Although these macros still rely on the manual
definition of each unique trace hook in tracing.h, the benefit
of not directly calling those is that we can enable/disable
trace hooks based on object type (k_thread, k_sem, etc.)
through the preprocessor while providing the ability of adding
type specific runtime trace processing similar to
SYS_TRACING_OBJ_INIT.

Signed-off-by: Torbjörn Leksell <torbjorn.leksell@percepio.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-07 22:10:21 -04:00
..
bluetooth Bluetooth: controller: Implement LE Set Host Feature Command 2021-05-07 15:25:18 +02:00
canbus canbus: isotp: use new k_work API 2021-05-05 13:24:29 -05:00
console kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug tests: boot_time: remove all the code and instrumentation feeding into test 2021-05-05 10:41:15 -04:00
demand_paging mmu: backing stores reserve page fault room 2021-01-23 19:47:23 -05:00
dfu dfu: mcuboot: Remove definitions available via bootutil_public.h 2021-03-25 07:08:01 -04:00
disk include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00
emul include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
fb device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fs fs: shell: add cat file command 2021-05-07 20:52:36 -04:00
ipc ipc: rpmsg_service: switch to new work API 2021-04-21 11:53:19 -05:00
jwt jwt: use pre-computed JWT header 2021-04-03 06:52:40 -04:00
logging logging: Add panic flag reset to core initialization 2021-05-06 15:40:05 +02:00
lorawan lorawan: port oriented downlink callbacks 2021-04-30 13:05:10 -05:00
mgmt smp: shell: consume all pending buffers in smp_shell_process() 2021-05-06 19:13:20 +02:00
modbus modbus: fix untrusted loop bound in modbus client 2021-05-05 11:33:56 +02:00
net pm: device: Align state names with system states 2021-05-07 18:35:12 -04:00
pm pm: device: Align state names with system states 2021-05-07 18:35:12 -04:00
portability portability: move cmsis api headers 2021-04-20 08:45:05 -04:00
random random: rand32_timer: Avoid alignment faults by using memcpy 2021-04-16 15:34:59 -04:00
settings settings: Handle unhandled error 2021-02-03 08:37:11 -05:00
shell pm: device: Align state names with system states 2021-05-07 18:35:12 -04:00
stats misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
storage storage/stream: Add persistent write progress to stream_flash 2021-04-23 15:01:32 -05:00
task_wdt power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
testsuite arm64: FPU context switching support 2021-05-03 11:56:50 +02:00
timing timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
tracing Tracing: Trace hook support macros 2021-05-07 22:10:21 -04:00
usb usb: hid: remove get_protocol/set_protocol from USB HID class API 2021-05-07 13:14:47 +02:00
CMakeLists.txt pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00
Kconfig pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00