Re: [RFC] hwbkpt: Hardware breakpoints (was Kwatch)

From: Roland McGrath
Date: Mon Mar 05 2007 - 17:05:44 EST


> > Please not. That might save a few bytes, but it makes the interface a
> > lot harder to understand for users. We really discourage over-loaded
> > interfaces in Linux.
>
> I agree with Christoph. Plenty of other interfaces in the kernel do the
> same thing.

I don't think a single hook for both "on" and "off" notification is harder
to understand at all, it's natural. But this is a very tiny point.

> I'll be happy to rename the structures and the files if Roland doesn't
> mind.

I didn't much like "debugpoint" but I'm not wedded to vowellessness.
hw_breakpoint is fine by me.


Thanks,
Roland
-
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/