yagl: Print PID/TID where cur_ts is unavailable (3/3) 20/243120/1
authorLukasz Kostyra <l.kostyra@samsung.com>
Tue, 18 Aug 2020 11:51:18 +0000 (13:51 +0200)
committerLukasz Kostyra <l.kostyra@samsung.com>
Thu, 3 Sep 2020 07:49:50 +0000 (09:49 +0200)
commitd983c361846ae677663128d25a7b342309deff53
tree50d23c8e48df3ff240e746c62024ba9b6736e98d
parentef96273e60366158baad5e049397a2d0aac4cc5d
yagl: Print PID/TID where cur_ts is unavailable (3/3)

In cases where yagl_thread_state pointer is unavailable (main server
thread, initialization, etc.) PID/TID for logs is extracted the slow
way - via yagl_get_pid/yagl_get_tid calls, which extract these IDs
via system-specific calls.

Change-Id: I63f35ff195793f1d0a363e754a8256083e8d0685
hw/yagl/Makefile.objs
hw/yagl/yagl_log.h
hw/yagl/yagl_util.c [new file with mode: 0644]
hw/yagl/yagl_util.h [new file with mode: 0644]