Re: [PATCH] vmevent: Use 'struct vmevent_attr' for vmevent_fd()ABI

From: Pekka Enberg
Date: Wed Mar 07 2012 - 05:08:24 EST


On Wed, 7 Mar 2012, Anton Vorontsov wrote:
> Sorry for hijacking this thread, but speaking of big
> changes. Are there any plans or ideas to add other methods
> of sampling, i.e. something not timer-based?

Yes and no.

Linux already has non-timer based "vm events" via tracepoints. There's
absolutely no need to reinvent the wheel so we should integrate with perf
more closely.

The biggest open question is whether or not a new syscall is needed for
configuring memory thresholds and such.

Pekka
--
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/