Aw: [PATCH][v2] rtnetlink: add rtnl_lock debug log

Rocco.Yue rocco.yue at mediatek.com
Wed May 12 01:48:12 PDT 2021


On Tue, 2021-05-11 at 20:54 +0200, Frank Wunderlich wrote:
> > Gesendet: Samstag, 08. Mai 2021 um 10:57 Uhr
> > Von: "Rocco Yue" <rocco.yue at mediatek.com>
> > Betreff: [PATCH][v2] rtnetlink: add rtnl_lock debug log
> 
> > <6>[   40.191481][    C6] rtnetlink: -- rtnl_print_btrace start --
> > <6>[   40.191494][    C6] rtnetlink: RfxSender_4[2206][R] hold rtnl_lock
> > more than 2 sec, start time: 38181400013
> it would be good to have same time-format (seconds.nanosec)
> 
> > <6>[   42.181879][ T2206] rtnetlink: rtnl_lock is held by [2206] from
> > [38181400013] to [42181875177]
> same as above
> 

Thanks for your review.

I have also thought about whether it needs to be modified here, and the
intuitive reading here will be a little troubled. It is ok for me to
modify :-)

> > +static void rtnl_relase_btrace(void)
> should this be release_btrace?
> 

will fix.

Best Regards
Rocco


More information about the Linux-mediatek mailing list