Re: [RFC][ PATCH -tip v2 4/7] kprobes: kprobes jump optimizationcore
From: Srikar Dronamraju
Date: Tue Jun 23 2009 - 08:58:26 EST
> + /* .insn_size is initialized later */
> + .nr_garbage = 0,
> +};
>
> +#if defined(CONFIG_OPTPROBES) && defined(__ARCH_WANT_KPROBES_INSN_SLOT)
> + /* Init kprobe_optinsn_slots */
> + kprobe_optinsn_slots.insn_size = MAX_OPTINSN_SIZE;
> +#endif
> +
What would be be the size of kprobe_optinsn_slots.insn_size if
CONFIG_OPTPROBES is defined but __ARCH_WANT_KPROBES_INSN_SLOT is not
defined?
-Srikar
--
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/