Skip to content

Commit

Permalink
[datapipe] Add enablers for logging datapipe value changes
Browse files Browse the repository at this point in the history
A lot of mce functionality is based on pushing events through datapipes,
which then causes cascade of activity on other datapipes. Tracing this
can be cumbersome at times.

Add logging hooks to datapipe structure to allow generic value tracing,
and modify datapipe initialization so that data type specific hooks are
bound to all datapipes so that all datapipe activity can be tracked by
invoking mce with logging options such as:

  mce -T -ldatapipe.c:*_pipe

Also fix couple of cases where incorrect data type were used for datapipe
value tracking.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 8, 2019
1 parent dcc0f24 commit e2f2949
Show file tree
Hide file tree
Showing 7 changed files with 611 additions and 259 deletions.

0 comments on commit e2f2949

Please sign in to comment.