Re: [PATCH 1/2] perf/x86/intel/pt: Add interface to stop Intel PT logging

2015-11-02 Thread Thomas Gleixner
Takao, On Wed, 28 Oct 2015, Takao Indoh wrote: > +#if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL) > +void cpu_emergency_stop_pt(void); > +#else > +void cpu_emergency_stop_pt(void) {} This wants to be static inline void please. Thanks, tglx -- To unsubscribe from

[PATCH 1/2] perf/x86/intel/pt: Add interface to stop Intel PT logging

2015-10-28 Thread Takao Indoh
This patch add a function for external component to stop Intel PT. Basically this function is used when kernel panic occurs. When it is called, intel_pt driver disables Intel PT and saves its registers using pt_event_stop, which is also used by pmu.stop handler. This function stops Intel PT on the