Re: how to creat watchpoint in kernel for data access debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 04, 2014 at 04:05:03AM +0100, Wang, Yalin wrote:
> Hi  Will,
> 
> Thanks for your proposal,
> The patch google made is just like
> The one I tried before ,
> Then the problems come :
> After register the perf_event callback,
> In the callback function ,
> In google's patch , it is  function crbug_345917_handler( ),
> It just call panic( ) ,
> But My callback function will do some check ,
> Sometimes, I want to bypass this time's breakpoint,
> Problems is that I don't know how to bypass it,
> If I return directly in the callback function ,
> The breakpoint will trap again and again endless ..

Take a look at enable_single_step, which uses mismatch breakpoints to try
and do the step.

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux