Re: [Xen-devel] [PATCH v3 3/5] xen: print lock profile info in panic()

2019-09-03 Thread Jan Beulich
On 03.09.2019 16:38, Juergen Gross wrote: > On 03.09.19 16:22, Jan Beulich wrote: >> On 29.08.2019 12:18, Juergen Gross wrote: >>> V2: >>> - rename CONFIG_LOCK_PROFILE to CONFIG_DEBUG_LOCK_PROFILE (Jan Beulich) >>> - move .lockprofile.data section to init area in linker scripts >> >> How can this

Re: [Xen-devel] [PATCH v3 3/5] xen: print lock profile info in panic()

2019-09-03 Thread Juergen Gross
On 03.09.19 16:22, Jan Beulich wrote: On 29.08.2019 12:18, Juergen Gross wrote: V2: - rename CONFIG_LOCK_PROFILE to CONFIG_DEBUG_LOCK_PROFILE (Jan Beulich) - move .lockprofile.data section to init area in linker scripts How can this be correct, when you don't change lock_prof_init() at all?

Re: [Xen-devel] [PATCH v3 3/5] xen: print lock profile info in panic()

2019-09-03 Thread Jan Beulich
On 29.08.2019 12:18, Juergen Gross wrote: > V2: > - rename CONFIG_LOCK_PROFILE to CONFIG_DEBUG_LOCK_PROFILE (Jan Beulich) > - move .lockprofile.data section to init area in linker scripts How can this be correct, when you don't change lock_prof_init() at all? The function builds a linked list

[Xen-devel] [PATCH v3 3/5] xen: print lock profile info in panic()

2019-08-29 Thread Juergen Gross
Print the lock profile data when the system crashes and add some more information for each lock data (lock address, cpu holding the lock). While at it use the PRI_stime format specifier for printing time data. This is especially beneficial for watchdog triggered crashes in case of deadlocks. In