Commit 91790f3
committed
trace: annotate remaining DECLARE_TR_CTX calls
Under Zephyr with CONFIG_ZEPHYR_LOG, tr_err()/tr_warn()/tr_info()/tr_dbg()
expand directly to LOG_ERR()/LOG_WRN()/LOG_INF()/LOG_DBG() and never look
at their tr_ctx argument. None of these remaining DECLARE_TR_CTX()
instances are referenced by anything other than tr_*() calls in the same
file (verified: no .tctx/->tctx assignment picks up their address), so
they are already dead code eliminated by the linker on Zephyr builds -
this commit only documents that fact, it changes no generated code.
(dai-legacy.c, host-legacy.c and the platform/library/schedule/*.c files
are excluded: they are only ever built for non-Zephyr, non-hardware
configurations - testbench/cmocka/legacy XTOS - so the comment would not
apply to them.)
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>1 parent 2336e0e commit 91790f3
113 files changed
Lines changed: 117 additions & 0 deletions
File tree
- src
- audio
- aria
- asrc
- buffers
- codec/dts
- copier
- crossover
- dcblock
- drc
- eq_fir
- eq_iir
- google
- igo_nr
- level_multiplier
- mfcc
- mixer
- mixin_mixout
- module_adapter
- library
- module
- dolby
- waves
- multiband_drc
- mux
- nxp
- phase_vocoder
- rtnr
- smart_amp
- sound_dose
- src
- stft_process
- tdfb
- template
- tensorflow
- tone
- up_down_mixer
- volume
- debug/tester
- drivers
- amd
- common
- rembrandt
- renoir
- vangogh
- dw
- generic
- imx
- mediatek
- afe
- mt8186
- mt8188
- mt8195
- mt8365
- mt818x
- mt8195
- mt8196
- mt8365
- idc
- ipc
- lib
- math
- fft
- platform
- amd
- acp_6_3/lib
- acp_7_0/lib
- acp_7_x/lib
- intel/ace/lib
- mt8186/lib
- mt8188/lib
- mt8195/lib
- mt8196/lib
- mt8365/lib
- probe
- samples/audio
- schedule
- trace
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| 494 | + | |
494 | 495 | | |
495 | 496 | | |
496 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| 1301 | + | |
1301 | 1302 | | |
1302 | 1303 | | |
1303 | 1304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| 692 | + | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
| |||
0 commit comments