Re: [PATCH 22/24] x86/oprofile: Add CONFIG_OPROFILE_IBS option

From: Ingo Molnar
Date: Sat Jul 26 2008 - 06:15:46 EST



* Robert Richter <robert.richter@xxxxxxx> wrote:

> +config OPROFILE_IBS
> + bool "OProfile AMD IBS support (EXPERIMENTAL)"
> + default n
> + depends on OPROFILE && SMP && X86
> + help
> + Instruction-Based Sampling (IBS) is a new profiling
> + technique that provides rich, precise program performance
> + information. IBS is introduced by AMD Family10h processors
> + (AMD Opteron Quad-Core processor ???Barcelona???) to overcome
> + the limitations of conventional performance counter
> + sampling.

weird UTF characters in the description - please try to use ASCII in
such general Kconfig help-texts.

also, it would be nice to have a pure technical description. I.e.
something like:

> + Instruction-Based Sampling (IBS) is a new hardware feature
> + that provides precise, non-statistical profiling
> + information. IBS is available in AMD Family10h processors.
> + (AMD Barcelona).

> +#ifdef CONFIG_OPROFILE_IBS
> op_amd_handle_ibs(regs, msrs);
> +#endif

please hide #ifdefs by making the op_amd_handle_ibs() function general.

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