Re: [patch 18/21] perfmon2 minimal: X86 32-bit system callssupport

From: dcg
Date: Mon Jun 09 2008 - 19:33:18 EST


El Mon, 09 Jun 2008 15:34:52 -0700 (PDT), eranian@xxxxxxxxxxxxxx escribiÃ:

> + .long sys_pfm_create_context
> + .long sys_pfm_write_pmcs
> + .long sys_pfm_write_pmds
> + .long sys_pfm_read_pmds /* 330 */
> + .long sys_pfm_load_context
> + .long sys_pfm_start
> + .long sys_pfm_stop
> + .long sys_ni_syscall /* reserved for pfm_restart */
> + .long sys_ni_syscall /* 335 reserverd for pfm_create_evtsets */
> + .long sys_ni_syscall /* reserved for pfm_getinfo_evtsets */
> + .long sys_ni_syscall /* reserved for pfm_delete_evtsets */
> + .long sys_pfm_unload_context

12 syscalls? O_o

I'm nobody to say if it's right or wrong...(and it probably has been
already discussed) but I'm curious, why this interface and not something
like ioctls (which many people doesn't like, but seems a better choice
for clueless people like me)?
--
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/