]> git.sur5r.net Git - u-boot/commit
iotrace: add IO region limit
authorRamon Fried <ramon.fried@gmail.com>
Wed, 30 May 2018 20:09:58 +0000 (23:09 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jun 2018 21:08:06 +0000 (17:08 -0400)
commita74440b27b3f12d2cce54d7910953af19f1ac051
tree3ba514ce64e860097787783dcc52410705e97cf6
parentb559c4af803fe22bef09a4e879fd8605391767f3
iotrace: add IO region limit

When dealing with a lot of IO regions, sometimes
it makes sense only to trace a specific one.
This patch adds support for region limits.
If region is not set, the iotrace works the same as it was.
If region is set, the iotrace only logs io operation that falls
in the defined region.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/iotrace.c
include/iotrace.h