runtime/linux/uprobes-common.h - systemtap
Data types defined
Macros defined
Source code
#ifndef _UPROBE_COMMON_H_
#define _UPROBE_COMMON_H_
struct stap_uprobe {
union { struct uprobe up; struct uretprobe urp; };
int spec_index; unsigned long sdt_sem_address;
};
struct stap_uprobe_tf {
struct stap_task_finder_target finder;
const char *pathname;
};
struct stap_uprobe_spec {
unsigned tfi;
unsigned return_p:1;
unsigned long address;
unsigned long sdt_sem_offset;
long perf_counters_dim;
long *perf_counters;
const struct stap_probe * const probe;
};
static int stap_uprobe_process_found (struct stap_task_finder_target *tgt, struct task_struct *tsk, int register_p, int process_p);
static int stap_uprobe_mmap_found (struct stap_task_finder_target *tgt, struct task_struct *tsk, char *path, struct dentry *dentry, unsigned long addr, unsigned long length, unsigned long offset, unsigned long vm_flags);
static int stap_uprobe_munmap_found (struct stap_task_finder_target *tgt, struct task_struct *tsk, unsigned long addr, unsigned long length);
static int stap_uprobe_process_munmap (struct stap_task_finder_target *tgt, struct task_struct *tsk, int register_p, int process_p);
#endif