lkml.org 
[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] Add trace events for SD registers.
Date
I am not able to make a single event class for all these registers. They
all have different struct sizes and different printf formats.

Thanks for the reviews!

Changes in v2:
- Made trace_sd_scr print out flags.
- Add BUILD_BUG_ON to make sure tracing stays in sync with structs.
- memcpy using sizeof(__entry->raw)

Raul E Rangel (4):
mmc: core: Add trace event for SD SCR response
mmc: core: Add trace event for SD SSR response
mmc: core: Add trace event for SD OCR response
mmc: core: Add trace event for CSD response

drivers/mmc/core/mmc.c | 4 +
drivers/mmc/core/sd.c | 10 ++
drivers/mmc/core/sd_ops.c | 6 ++
include/trace/events/mmc.h | 204 +++++++++++++++++++++++++++++++++++++
4 files changed, 224 insertions(+)

--
2.21.0.392.gf8f6787159e-goog

\
 
 \ /
  Last update: 2019-04-16 20:33    [W:0.075 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site