Re: [PATCH 4/6] hw-breakpoints: Rewrite the hw-breakpoints layer on top of perf events

From: Paul Mackerras
Date: Thu Nov 05 2009 - 06:03:54 EST


Frederic Weisbecker writes:

> @@ -207,6 +212,15 @@ struct perf_event_attr {
> __u32 wakeup_events; /* wakeup every n events */
> __u32 wakeup_watermark; /* bytes before wakeup */
> };
> +
> + union {
> + struct { /* Hardware breakpoint info */
> + __u64 bp_addr;
> + __u32 bp_type;
> + __u32 bp_len;
> + };
> + };

I'm wondering why you don't use attr.config for anything with
breakpoint events?

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/