mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Restriction on setting debug registers (HW breakpoint) at kernel space
@ 2017-10-13 14:07 Probir Roy
  2017-10-18 20:43 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: Probir Roy @ 2017-10-13 14:07 UTC (permalink / raw)
  To: linux-kernel, prasad, paulus, tglx

Hi,

I am patching the perf tool of linux to set HW breakpoints at kernel
space. I found that there is an interface for user-space
(modify_user_hw_breakpoint) but no interface for system wide
breakpoint modification. Older version of linux had this support by K.
Prasad. I was wondering why linux remove this support. Moreover, when
I patch the perf tool for kernel space breakpoint following steps from
"modify_user_hw_breakpoint", kernel panics but nothing is written on
log file. What could be the issue? Is it a race condition while
modifying the address or is it because kernel restricts it to set HW
breakpoint at some kernel address(if so, where is it written)?

Regards
-- 
Probir Roy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-18 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 14:07 Restriction on setting debug registers (HW breakpoint) at kernel space Probir Roy
2017-10-18 20:43 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®