Commit f4ec37c
Jyri Sarha
ipc4: handler: Kconfig option to add IPC processing timing prints
Kconfig option DEBUG_IPC_TIMINGS to add logging after IPC handling
before putting IPC reply to send queue. The logging contains both the
reply and the original request message headers and the time that it
took to process the request in micro seconds. The value can be used to
collect statistics on changes in firmware response times. This also
disables the logging of the received request on core 0 to avoid
flooding the logs too much.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 5b98a5c commit f4ec37c
2 files changed
Lines changed: 28 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
201 | 214 | | |
202 | 215 | | |
203 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1559 | 1563 | | |
1560 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1561 | 1569 | | |
1562 | 1570 | | |
1563 | | - | |
| 1571 | + | |
1564 | 1572 | | |
1565 | 1573 | | |
1566 | 1574 | | |
| |||
1674 | 1682 | | |
1675 | 1683 | | |
1676 | 1684 | | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
1677 | 1690 | | |
1678 | 1691 | | |
1679 | | - | |
| 1692 | + | |
1680 | 1693 | | |
1681 | 1694 | | |
1682 | 1695 | | |
0 commit comments