mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 21:45:01 +08:00
246eba8e90
Add processing for PERF_RECORD_TEXT_POKE events. When a text poke event is processed, then the kernel dso data cache is updated with the poked bytes. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> Cc: x86@kernel.org Link: http://lore.kernel.org/lkml/20200512121922.8997-12-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
16 lines
373 B
C
16 lines
373 B
C
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PERF_API_PROBE_H
|
|
#define __PERF_API_PROBE_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool perf_can_aux_sample(void);
|
|
bool perf_can_comm_exec(void);
|
|
bool perf_can_record_cpu_wide(void);
|
|
bool perf_can_record_switch_events(void);
|
|
bool perf_can_record_text_poke_events(void);
|
|
bool perf_can_sample_identifier(void);
|
|
|
|
#endif // __PERF_API_PROBE_H
|