mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
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 <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt (VMware) <[email protected]> Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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
|