Re: [PATCH v2 0/4] Add trace events for SD registers.

2019-04-29 Thread Ulf Hansson
On Wed, 24 Apr 2019 at 17:31, Raul Rangel wrote: > > On Tue, Apr 23, 2019 at 08:29:15AM +0200, Ulf Hansson wrote: > > On Tue, 16 Apr 2019 at 20:33, Raul E Rangel wrote: > > > > > > I am not able to make a single event class for all these registers. They > > > all have different struct sizes and d

Re: [PATCH v2 0/4] Add trace events for SD registers.

2019-04-24 Thread Raul Rangel
On Tue, Apr 23, 2019 at 08:29:15AM +0200, Ulf Hansson wrote: > On Tue, 16 Apr 2019 at 20:33, Raul E Rangel wrote: > > > > 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! > > >

Re: [PATCH v2 0/4] Add trace events for SD registers.

2019-04-22 Thread Ulf Hansson
On Tue, 16 Apr 2019 at 20:33, Raul E Rangel wrote: > > 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

[PATCH v2 0/4] Add trace events for SD registers.

2019-04-16 Thread Raul E Rangel
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 siz