| /linux/tools/perf/util/ |
| H A D | sample.c | 2 #include "sample.h" 17 void perf_sample__init(struct perf_sample *sample, bool all) in perf_sample__init() argument 20 memset(sample, 0, sizeof(*sample)); in perf_sample__init() 22 sample->evsel = NULL; in perf_sample__init() 23 sample->user_regs = NULL; in perf_sample__init() 24 sample->intr_regs = NULL; in perf_sample__init() 25 sample->merged_callchain = false; in perf_sample__init() 26 sample->callchain = NULL; 30 void perf_sample__exit(struct perf_sample *sample) in perf_sample__exit() 27 perf_sample__exit(struct perf_sample * sample) perf_sample__exit() argument 33 perf_sample__user_regs(struct perf_sample * sample) perf_sample__user_regs() argument 44 perf_sample__intr_regs(struct perf_sample * sample) perf_sample__intr_regs() argument 90 perf_sample__fetch_insn(struct perf_sample * sample,struct thread * thread,struct machine * machine) perf_sample__fetch_insn() argument [all...] |
| H A D | bpf-filter.l | 14 static int sample(enum perf_bpf_filter_term term) in sample() function 17 perf_bpf_filter_lval.sample.term = term; in sample() 18 perf_bpf_filter_lval.sample.part = 0; in sample() 25 perf_bpf_filter_lval.sample.term = term; in sample_part() 26 perf_bpf_filter_lval.sample.part = part; in sample_part() 33 perf_bpf_filter_lval.sample.term = term; in sample_path() 34 perf_bpf_filter_lval.sample.part = 0; in sample_path() 88 ip { return sample(PBF_TERM_IP); } 89 id { return sample(PBF_TERM_ID); } 90 tid { return sample(PBF_TERM_TI [all...] |
| H A D | intel-pt.c | 291 struct perf_sample *sample) in intel_pt_dump_sample() argument 297 intel_pt_dump(pt, sample->aux_sample.data, sample->aux_sample.size); in intel_pt_dump_sample() 1238 struct perf_sample *sample) in intel_pt_add_callchain() argument 1241 sample->pid, in intel_pt_add_callchain() 1242 sample->tid); in intel_pt_add_callchain() 1244 thread_stack__sample_late(thread, sample->cpu, pt->chain, in intel_pt_add_callchain() 1245 pt->synth_opts.callchain_sz + 1, sample->ip, in intel_pt_add_callchain() 1248 sample->callchain = pt->chain; in intel_pt_add_callchain() 1276 struct perf_sample *sample) in intel_pt_add_br_stack() argument 1689 intel_pt_prep_a_sample(struct intel_pt_queue * ptq,union perf_event * event,struct perf_sample * sample) intel_pt_prep_a_sample() argument 1715 intel_pt_prep_b_sample(struct intel_pt * pt,struct intel_pt_queue * ptq,union perf_event * event,struct perf_sample * sample) intel_pt_prep_b_sample() argument 1732 intel_pt_inject_event(union perf_event * event,struct perf_sample * sample,u64 type) intel_pt_inject_event() argument 1740 intel_pt_opt_inject(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample,u64 type) intel_pt_opt_inject() argument 1750 intel_pt_deliver_synth_event(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample,u64 type) intel_pt_deliver_synth_event() argument 1769 struct perf_sample sample; intel_pt_synth_branch_sample() local 1822 intel_pt_prep_sample(struct intel_pt * pt,struct intel_pt_queue * ptq,union perf_event * event,struct perf_sample * sample) intel_pt_prep_sample() argument 1844 struct perf_sample sample; intel_pt_synth_instruction_sample() local 1880 struct perf_sample sample; intel_pt_synth_cycle_sample() local 1911 struct perf_sample sample; intel_pt_synth_transaction_sample() local 1932 intel_pt_prep_p_sample(struct intel_pt * pt,struct intel_pt_queue * ptq,union perf_event * event,struct perf_sample * sample) intel_pt_prep_p_sample() argument 1948 struct perf_sample sample = { .ip = 0, }; intel_pt_synth_ptwrite_sample() local 1974 struct perf_sample sample; intel_pt_synth_cbr_sample() local 2008 struct perf_sample sample; intel_pt_synth_psb_sample() local 2038 struct perf_sample sample; intel_pt_synth_mwait_sample() local 2067 struct perf_sample sample; intel_pt_synth_pwre_sample() local 2096 struct perf_sample sample; intel_pt_synth_exstop_sample() local 2125 struct perf_sample sample; intel_pt_synth_pwrx_sample() local 2419 struct perf_sample sample; intel_pt_do_synth_pebs_sample() local 2609 struct perf_sample sample; intel_pt_synth_events_sample() local 2651 struct perf_sample sample; intel_pt_synth_iflag_chg_sample() local 3290 intel_pt_sample_set_pid_tid_cpu(struct intel_pt_queue * ptq,struct auxtrace_queue * queue,struct perf_sample * sample) intel_pt_sample_set_pid_tid_cpu() argument 3317 intel_pt_process_timeless_sample(struct intel_pt * pt,struct perf_sample * sample) intel_pt_process_timeless_sample() argument 3338 intel_pt_lost(struct intel_pt * pt,struct perf_sample * sample) intel_pt_lost() argument 3420 intel_pt_process_switch(struct intel_pt * pt,struct perf_sample * sample) intel_pt_process_switch() argument 3445 intel_pt_context_switch_in(struct intel_pt * pt,struct perf_sample * sample) intel_pt_context_switch_in() argument 3484 intel_pt_guest_context_switch(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample) intel_pt_guest_context_switch() argument 3510 intel_pt_context_switch(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample) intel_pt_context_switch() argument 3549 intel_pt_process_itrace_start(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample) intel_pt_process_itrace_start() argument 3609 intel_pt_process_aux_output_hw_id(struct intel_pt * pt,union perf_event * event,struct perf_sample * sample) intel_pt_process_aux_output_hw_id() argument 3701 intel_pt_process_event(struct perf_session * session,union perf_event * event,struct perf_sample * sample,const struct perf_tool * tool) intel_pt_process_event() argument 3891 intel_pt_queue_data(struct perf_session * session,struct perf_sample * sample,union perf_event * event,u64 data_offset) intel_pt_queue_data() argument [all...] |
| H A D | session.c | 34 #include "sample-raw.h" 1270 static void callchain__lbr_callstack_printf(struct perf_sample *sample) in deliver_sample_value() 1272 struct ip_callchain *callchain = sample->callchain; in deliver_sample_value() 1273 struct branch_stack *lbr_stack = sample->branch_stack; in deliver_sample_value() 1274 struct branch_entry *entries = perf_sample__branch_entries(sample); in deliver_sample_value() 1341 struct perf_sample *sample) 1344 struct ip_callchain *callchain = sample->callchain; 1347 callchain__lbr_callstack_printf(sample); 1356 if (sample->deferred_callchain) in evlist__deliver_deferred_callchain() 1360 static void branch_stack__printf(struct perf_sample *sample, in evlist__deliver_deferred_callchain() 813 callchain__lbr_callstack_printf(struct perf_sample * sample) callchain__lbr_callstack_printf() argument 884 callchain__printf(struct evsel * evsel,struct perf_sample * sample) callchain__printf() argument 903 branch_stack__printf(struct perf_sample * sample,struct evsel * evsel) branch_stack__printf() argument 1001 regs_user__printf(struct perf_sample * sample,uint16_t e_machine,uint32_t e_flags) regs_user__printf() argument 1014 regs_intr__printf(struct perf_sample * sample,uint16_t e_machine,uint32_t e_flags) regs_intr__printf() argument 1033 evlist__print_tstamp(struct evlist * evlist,union perf_event * event,struct perf_sample * sample) evlist__print_tstamp() argument 1050 sample_read__printf(struct perf_sample * sample,u64 read_format) sample_read__printf() argument 1085 dump_event(struct evlist * evlist,union perf_event * event,u64 file_offset,struct perf_sample * sample,const char * file_path) dump_event() argument 1114 dump_sample(struct machine * machine,struct evsel * evsel,union perf_event * event,struct perf_sample * sample) dump_sample() argument 1180 dump_deferred_callchain(struct evsel * evsel,union perf_event * event,struct perf_sample * sample) dump_deferred_callchain() argument 1223 machines__find_for_cpumode(struct machines * machines,union perf_event * event,struct perf_sample * sample) machines__find_for_cpumode() argument 1254 deliver_sample_value(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct sample_read_value * v,struct machine * machine,bool per_thread) deliver_sample_value() argument 1292 deliver_sample_group(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,u64 read_format,bool per_thread) deliver_sample_group() argument 1315 evlist__deliver_sample(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) evlist__deliver_sample() argument 1354 evlist__deliver_deferred_callchain(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) evlist__deliver_deferred_callchain() argument 1415 struct perf_sample sample; session__flush_deferred_samples() local 1440 machines__deliver_event(struct machines * machines,struct evlist * evlist,union perf_event * event,struct perf_sample * sample,const struct perf_tool * tool,u64 file_offset,const char * file_path) machines__deliver_event() argument 1554 struct perf_sample sample; perf_session__deliver_event() local 1589 struct perf_sample sample; perf_session__process_user_event() local 1704 perf_session__deliver_synth_event(struct perf_session * session,union perf_event * event,struct perf_sample * sample) perf_session__deliver_synth_event() argument 1753 perf_session__peek_event(struct perf_session * session,off_t file_offset,void * buf,size_t buf_sz,union perf_event ** event_ptr,struct perf_sample * sample) perf_session__peek_event() argument [all...] |
| H A D | print_insn.c | 22 #include "sample.h" in sample__fprintf_insn_raw() 26 size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp) in sample__fprintf_insn_raw() 30 for (int i = 0; i < sample->insn_len; i++) { in sample__fprintf_insn_raw() 31 printed += fprintf(fp, "%02x", (unsigned char)sample->insn[i]); in sample__fprintf_insn_raw() 32 if (sample->insn_len - i > 1) 58 size_t sample__fprintf_insn_asm(struct perf_sample *sample, struct thread *thread, in sample__fprintf_insn_asm() 65 printed = fprintf_insn_asm(machine, thread, sample->cpumode, is64bit, in sample__fprintf_insn_asm() 66 (uint8_t *)sample->insn, sample->insn_len, in sample__fprintf_insn_asm() 67 sample in sample__fprintf_insn_asm() 21 sample__fprintf_insn_raw(struct perf_sample * sample,FILE * fp) sample__fprintf_insn_raw() argument 53 sample__fprintf_insn_asm(struct perf_sample * sample,struct thread * thread,struct machine * machine,FILE * fp,struct addr_location * al) sample__fprintf_insn_asm() argument [all...] |
| H A D | thread-stack.c | 860 struct perf_sample *sample, in thread_stack__bottom() argument 869 if (sample->ip) { in thread_stack__bottom() 870 ip = sample->ip; in thread_stack__bottom() 872 } else if (sample->addr) { in thread_stack__bottom() 873 ip = sample->addr; in thread_stack__bottom() 882 return thread_stack__push_cp(ts, ip, sample->time, ref, cp, in thread_stack__bottom() 887 struct perf_sample *sample, u64 ref) in thread_stack__pop_ks() argument 889 u64 tm = sample->time; in thread_stack__pop_ks() 905 struct perf_sample *sample, in thread_stack__no_call_return() argument 915 u64 addr = sample->addr; in thread_stack__no_call_return() [all …]
|
| H A D | s390-sample-raw.c | 12 * sample was taken from. 30 #include "sample-raw.h" 33 #include "util/sample.h" 49 static bool s390_cpumcfdg_testctr(struct perf_sample *sample) in s390_cpumcfdg_testctr() argument 51 size_t len = sample->raw_size, offset = 0; in s390_cpumcfdg_testctr() 52 unsigned char *buf = sample->raw_data; in s390_cpumcfdg_testctr() 66 * raw data block in the sample causes the perf tool in s390_cpumcfdg_testctr() 68 * of the sample a multiple of eight bytes again. in s390_cpumcfdg_testctr() 225 static void s390_cpumcfdg_dump(struct perf_sample *sample) in s390_cpumcfdg_dump() argument 227 struct perf_pmu *pmu = sample in s390_cpumcfdg_dump() 278 s390_pai_all_test(struct perf_sample * sample) s390_pai_all_test() argument 287 s390_pai_all_dump(struct evsel * evsel,struct perf_sample * sample) s390_pai_all_dump() argument 332 evlist__s390_sample_raw(struct evlist * evlist,union perf_event * event,struct perf_sample * sample) evlist__s390_sample_raw() argument [all...] |
| H A D | event.h | 303 struct perf_sample *sample, 307 struct perf_sample *sample, 311 struct perf_sample *sample, 315 struct perf_sample *sample, 319 struct perf_sample *sample, 323 struct perf_sample *sample, 327 struct perf_sample *sample, 331 struct perf_sample *sample, 335 struct perf_sample *sample, 339 struct perf_sample *sample, [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 286 struct cpu_sample *sample; in pid_put_sample() local 295 sample = zalloc(sizeof(*sample)); in pid_put_sample() 296 assert(sample != NULL); in pid_put_sample() 297 sample->start_time = start; in pid_put_sample() 298 sample->end_time = end; in pid_put_sample() 299 sample->type = type; in pid_put_sample() 300 sample->next = c->samples; in pid_put_sample() 301 sample->cpu = cpu; in pid_put_sample() 302 sample in pid_put_sample() 493 cat_backtrace(union perf_event * event,struct perf_sample * sample,struct machine * machine) cat_backtrace() argument 576 process_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) process_sample_event() argument 601 process_sample_cpu_idle(struct timechart * tchart __maybe_unused,struct evsel * evsel,struct perf_sample * sample,const char * backtrace __maybe_unused) process_sample_cpu_idle() argument 617 process_sample_cpu_frequency(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample,const char * backtrace __maybe_unused) process_sample_cpu_frequency() argument 630 process_sample_sched_wakeup(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample,const char * backtrace) process_sample_sched_wakeup() argument 644 process_sample_sched_switch(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample,const char * backtrace) process_sample_sched_switch() argument 660 process_sample_power_start(struct timechart * tchart __maybe_unused,struct evsel * evsel,struct perf_sample * sample,const char * backtrace __maybe_unused) process_sample_power_start() argument 673 process_sample_power_end(struct timechart * tchart,struct evsel * evsel __maybe_unused,struct perf_sample * sample,const char * backtrace __maybe_unused) process_sample_power_end() argument 683 process_sample_power_frequency(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample,const char * backtrace __maybe_unused) process_sample_power_frequency() argument 735 struct io_sample *sample; pid_begin_io_sample() local 777 struct io_sample *sample, *prev; pid_end_io_sample() local 853 process_enter_read(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_read() argument 863 process_exit_read(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_read() argument 873 process_enter_write(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_write() argument 883 process_exit_write(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_write() argument 893 process_enter_sync(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_sync() argument 903 process_exit_sync(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_sync() argument 913 process_enter_tx(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_tx() argument 923 process_exit_tx(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_tx() argument 933 process_enter_rx(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_rx() argument 943 process_exit_rx(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_rx() argument 953 process_enter_poll(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_enter_poll() argument 963 process_exit_poll(struct timechart * tchart,struct evsel * evsel,struct perf_sample * sample) process_exit_poll() argument 1116 struct cpu_sample *sample; draw_cpu_usage() local 1147 struct io_sample *sample; draw_io_bars() local 1258 struct cpu_sample *sample; draw_process_bars() local [all...] |
| H A D | builtin-script.c | 515 pr_err("Display of symbols requested but neither sample IP nor " in evsel__check_attr() 516 "sample address\navailable. Hence, no addresses to convert " in evsel__check_attr() 531 pr_err("Display of source line number requested but sample IP is not\n" in evsel__check_attr() 794 static int perf_sample__fprintf_iregs(struct perf_sample *sample, in perf_sample__fprintf_iregs() 800 if (!sample->intr_regs) in perf_sample__fprintf_iregs() 803 return perf_sample__fprintf_regs(perf_sample__intr_regs(sample), in perf_sample__fprintf_uregs() argument 807 static int perf_sample__fprintf_uregs(struct perf_sample *sample, in perf_sample__fprintf_uregs() 813 if (!sample->user_regs) in perf_sample__fprintf_uregs() 816 return perf_sample__fprintf_regs(perf_sample__user_regs(sample), in perf_sample__fprintf_start() 821 struct perf_sample *sample, in perf_sample__fprintf_start() 790 perf_sample__fprintf_iregs(struct perf_sample * sample,struct perf_event_attr * attr,uint16_t e_machine,uint32_t e_flags,FILE * fp) perf_sample__fprintf_iregs() argument 817 perf_sample__fprintf_start(struct perf_script * script,struct perf_sample * sample,struct thread * thread,struct evsel * evsel,u32 type,FILE * fp) perf_sample__fprintf_start() argument 977 perf_sample__fprintf_brstack(struct perf_sample * sample,struct thread * thread,struct evsel * evsel,FILE * fp) perf_sample__fprintf_brstack() argument 1016 perf_sample__fprintf_brstacksym(struct perf_sample * sample,struct thread * thread,struct evsel * evsel,FILE * fp) perf_sample__fprintf_brstacksym() argument 1054 perf_sample__fprintf_brstackoff(struct perf_sample * sample,struct thread * thread,struct evsel * evsel,FILE * fp) perf_sample__fprintf_brstackoff() argument 1350 perf_sample__fprintf_brstackinsn(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct perf_event_attr * attr,struct machine * machine,FILE * fp) perf_sample__fprintf_brstackinsn() argument 1512 perf_sample__fprintf_addr(struct perf_sample * sample,struct thread * thread,struct evsel * evsel,FILE * fp) perf_sample__fprintf_addr() argument 1540 resolve_branch_sym(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct addr_location * al,struct addr_location * addr_al,u64 * ip) resolve_branch_sym() argument 1569 perf_sample__fprintf_callindent(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct addr_location * al,struct addr_location * addr_al,FILE * fp) perf_sample__fprintf_callindent() argument 1619 perf_sample__fprintf_insn(struct perf_sample * sample,struct evsel * evsel,struct perf_event_attr * attr,struct thread * thread,struct machine * machine,FILE * fp,struct addr_location * al) perf_sample__fprintf_insn() argument 1646 perf_sample__fprintf_ipc(struct perf_sample * sample,struct evsel * evsel,FILE * fp) perf_sample__fprintf_ipc() argument 1660 perf_sample__fprintf_bts(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct addr_location * al,struct addr_location * addr_al,struct machine * machine,FILE * fp) perf_sample__fprintf_bts() argument 1806 perf_sample__fprintf_bpf_output(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_bpf_output() argument 1853 perf_sample__fprintf_synth_ptwrite(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_ptwrite() argument 1873 perf_sample__fprintf_synth_mwait(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_mwait() argument 1886 perf_sample__fprintf_synth_pwre(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_pwre() argument 1899 perf_sample__fprintf_synth_exstop(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_exstop() argument 1911 perf_sample__fprintf_synth_pwrx(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_pwrx() argument 1925 perf_sample__fprintf_synth_cbr(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_cbr() argument 1943 perf_sample__fprintf_synth_psb(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_psb() argument 1956 perf_sample__fprintf_synth_evt(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_evt() argument 1992 perf_sample__fprintf_synth_iflag_chg(struct perf_sample * sample,FILE * fp) perf_sample__fprintf_synth_iflag_chg() argument 2024 perf_sample__fprintf_synth(struct perf_sample * sample,struct evsel * evsel,FILE * fp) perf_sample__fprintf_synth() argument 2092 struct perf_sample *sample; global() member 2278 perf_sample__fprint_metric(struct thread * thread,struct evsel * evsel,struct perf_sample * sample,FILE * fp) perf_sample__fprint_metric() argument 2374 show_event(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct addr_location * al,struct addr_location * addr_al) show_event() argument 2417 process_event(struct perf_script * script,struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al,struct machine * machine) process_event() argument 2633 filter_cpu(struct perf_sample * sample) filter_cpu() argument 2642 process_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) process_sample_event() argument 2726 process_deferred_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) process_deferred_sample_event() argument 2885 print_event_with_time(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,pid_t pid,pid_t tid,u64 timestamp) print_event_with_time() argument 2920 print_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,pid_t pid,pid_t tid) print_event() argument 2928 process_comm_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_comm_event() argument 2940 process_namespaces_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_namespaces_event() argument 2952 process_cgroup_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_cgroup_event() argument 2964 process_fork_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_fork_event() argument 2976 process_exit_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_exit_event() argument 2989 process_mmap_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_mmap_event() argument 3001 process_mmap2_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_mmap2_event() argument 3013 process_switch_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_switch_event() argument 3046 process_lost_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_lost_event() argument 3056 process_throttle_event(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_throttle_event() argument 3077 process_bpf_events(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_bpf_events() argument 3098 process_text_poke_events(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_text_poke_events() argument [all...] |
| H A D | builtin-kwork.c | 242 struct perf_sample *sample) in atom_new() 272 atom->time = sample->time; in atom_new() 440 struct perf_sample *sample) in profile_event_match() 445 if ((kwork->timestart == 0) || (kwork->timestart > sample->time)) in profile_event_match() 446 kwork->timestart = sample->time; 448 if (kwork->timeend < sample->time) in work_push_atom() 449 kwork->timeend = sample->time; in work_push_atom() 465 struct perf_sample *sample) in work_push_atom() 468 u64 time = sample->time; in work_push_atom() 489 profile_update_timespan(kwork, sample); in work_push_atom() 241 atom_new(struct perf_kwork * kwork,struct perf_sample * sample) atom_new() argument 396 profile_update_timespan(struct perf_kwork * kwork,struct perf_sample * sample) profile_update_timespan() argument 421 profile_event_match(struct perf_kwork * kwork,struct kwork_work * work,struct perf_sample * sample) profile_event_match() argument 452 work_push_atom(struct perf_kwork * kwork,struct kwork_class * class,enum kwork_trace_type src_type,enum kwork_trace_type dst_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine,struct kwork_work ** ret_work,bool overwrite) work_push_atom() argument 511 work_pop_atom(struct perf_kwork * kwork,struct kwork_class * class,enum kwork_trace_type src_type,enum kwork_trace_type dst_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine,struct kwork_work ** ret_work) work_pop_atom() argument 581 report_update_exit_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) report_update_exit_event() argument 603 report_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) report_entry_event() argument 614 report_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) report_exit_event() argument 636 latency_update_entry_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) latency_update_entry_event() argument 658 latency_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_raise_event() argument 669 latency_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_entry_event() argument 690 timehist_save_callchain(struct perf_kwork * kwork,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) timehist_save_callchain() argument 741 timehist_print_event(struct perf_kwork * kwork,struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample,struct addr_location * al) timehist_print_event() argument 817 timehist_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_raise_event() argument 828 timehist_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_entry_event() argument 849 timehist_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_exit_event() argument 885 top_update_runtime(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) top_update_runtime() argument 900 top_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_entry_event() argument 911 top_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_exit_event() argument 941 top_sched_switch_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_sched_switch_event() argument 964 process_irq_handler_entry_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_entry_event() argument 977 process_irq_handler_exit_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_exit_event() argument 1010 irq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) irq_work_init() argument 1043 process_softirq_raise_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_raise_event() argument 1057 process_softirq_entry_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_entry_event() argument 1071 process_softirq_exit_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_exit_event() argument 1138 softirq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) softirq_work_init() argument 1174 process_workqueue_activate_work_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_activate_work_event() argument 1188 process_workqueue_execute_start_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_start_event() argument 1202 process_workqueue_execute_end_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_end_event() argument 1238 workqueue_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) workqueue_work_init() argument 1273 process_sched_switch_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_sched_switch_event() argument 1306 sched_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) sched_work_init() argument 1957 perf_kwork__process_tracepoint_sample(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_kwork__process_tracepoint_sample() argument [all...] |
| H A D | builtin-inject.c | 51 struct perf_sample sample; 151 struct perf_sample *sample, 157 struct perf_sample *sample, 222 struct perf_sample *sample __maybe_unused, in perf_event__repipe_attr() 376 struct perf_sample *sample __maybe_unused, in perf_event__repipe_sample() 384 struct perf_sample *sample __maybe_unused, in perf_event__repipe_sample() 392 struct perf_sample *sample, in perf_event__convert_sample_callchain() 398 inject->aux_id = sample->id; in perf_event__convert_sample_callchain() 406 struct perf_sample *sample) in perf_event__convert_sample_callchain() 408 size_t sz1 = sample in perf_event__convert_sample_callchain() 48 struct perf_sample sample; global() member 318 perf_event__drop_aux(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct machine * machine __maybe_unused) perf_event__drop_aux() argument 332 perf_inject__cut_auxtrace_sample(struct perf_inject * inject,union perf_event * event,struct perf_sample * sample) perf_inject__cut_auxtrace_sample() argument 365 perf_event__repipe_sample(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__repipe_sample() argument 390 perf_event__convert_sample_callchain(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__convert_sample_callchain() argument 541 perf_event__repipe_common_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,__u32 flags,__u32 prot,const char * filename,const struct dso_id * dso_id,int (* perf_event_process)(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine)) perf_event__repipe_common_mmap() argument 646 perf_event__repipe_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap() argument 660 perf_event__repipe_mmap2(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap2() argument 687 perf_event__repipe_fork(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_fork() argument 700 perf_event__repipe_comm(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_comm() argument 713 perf_event__repipe_namespaces(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_namespaces() argument 725 perf_event__repipe_exit(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_exit() argument 838 tool__inject_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,const char * filename,struct dso * dso,u32 flags) tool__inject_build_id() argument 875 tool__inject_mmap2_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,struct dso * dso,__u32 prot,__u32 flags,const char * filename) tool__inject_mmap2_build_id() argument 915 mark_dso_hit(const struct perf_inject * inject,const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * mmap_evsel,struct map * map,bool sample_in_dso) mark_dso_hit() argument 977 struct perf_sample *sample; global() member 992 perf_event__inject_buildid(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine) perf_event__inject_buildid() argument 1036 perf_inject__sched_process_exit(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine __maybe_unused) perf_inject__sched_process_exit() argument 1056 perf_inject__sched_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_switch() argument 1081 perf_inject__sched_stat(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_stat() argument 1700 evlist__append_id_sample(struct evlist * evlist,union perf_event * ev,const struct perf_sample * sample) evlist__append_id_sample() argument 1738 struct perf_sample *sample; guest_session__inject_events() local 1844 host__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__repipe() argument 1936 host__context_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__context_switch() argument [all...] |
| /linux/tools/perf/scripts/python/ |
| H A D | intel-pt-events.py | 231 def common_start_str(comm, sample): argument 232 ts = sample["time"] 233 cpu = sample["cpu"] 234 pid = sample["pid"] 235 tid = sample["tid"] 236 if "machine_pid" in sample: 237 machine_pid = sample["machine_pid"] 238 vcpu = sample["vcpu"] 243 def print_common_start(comm, sample, name): argument 244 flags_disp = get_optional_null(sample, "flags_disp") [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_ringbuf_map_key.c | 10 struct sample { struct 24 __type(key, struct sample); argument 38 struct sample *sample; in test_ringbuf_mem_map_key() local 44 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf_mem_map_key() 45 if (!sample) in test_ringbuf_mem_map_key() 48 sample->pid = pid; in test_ringbuf_mem_map_key() 49 bpf_get_current_comm(sample->comm, sizeof(sample in test_ringbuf_mem_map_key() [all...] |
| H A D | test_ringbuf.c | 10 struct sample { struct 43 struct sample *sample; in test_ringbuf() local 48 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf() 49 if (!sample) { in test_ringbuf() 54 sample->pid = pid; in test_ringbuf() 55 bpf_get_current_comm(sample->comm, sizeof(sample->comm)); in test_ringbuf() 56 sample->value = value; in test_ringbuf() 58 sample->seq = seq++; in test_ringbuf() 61 if (sample->seq & 1) { in test_ringbuf() 63 bpf_ringbuf_output(&ringbuf, sample, sizeof(*sample), flags); in test_ringbuf() [all …]
|
| H A D | test_ringbuf_n.c | 14 struct sample { struct 31 struct sample *sample; in test_ringbuf_n() argument 36 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf_n() 37 if (!sample) in test_ringbuf_n() 40 sample->pid = pid; in test_ringbuf_n() 41 sample->value = value; in test_ringbuf_n() 42 bpf_get_current_comm(sample->comm, sizeof(sample->comm)); in test_ringbuf_n() 44 bpf_ringbuf_submit(sample, 0); in test_ringbuf_n()
|
| H A D | test_ringbuf_multi.c | 9 struct sample { struct 60 struct sample *sample; in test_ringbuf() local 72 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf() 73 if (!sample) { in test_ringbuf() 78 sample->pid = pid; in test_ringbuf() 79 bpf_get_current_comm(sample->comm, sizeof(sample->comm)); in test_ringbuf() 80 sample->value = value; in test_ringbuf() 82 sample->seq = total; in test_ringbuf() 85 bpf_ringbuf_submit(sample, 0); in test_ringbuf()
|
| /linux/tools/testing/selftests/ftrace/test.d/event/ |
| H A D | event-mod.tc | 7 rmmod trace-events-sample ||: 8 if ! modprobe trace-events-sample ; then 20 grep -q sample-trace:foo_bar set_event 21 grep -q sample-trace:foo_bar_with_cond set_event 22 grep -q sample-trace:foo_bar_with_fn set_event 25 val=`cat events/sample-trace/enable` 49 val=`cat events/sample-trace/enable` 65 val=`cat events/sample-trace/enable` 80 val=`cat events/sample-trace/enable` 96 val=`cat events/sample-trace/enable` [all …]
|
| /linux/tools/perf/util/kvm-stat-arch/ |
| H A D | kvm-stat-x86.c | 27 static void mmio_event_get_key(struct perf_sample *sample, in mmio_event_get_key() argument 30 key->key = perf_sample__intval(sample, "gpa"); in mmio_event_get_key() 31 key->info = perf_sample__intval(sample, "type"); in mmio_event_get_key() 38 static bool mmio_event_begin(struct perf_sample *sample, struct event_key *key) in mmio_event_begin() 41 if (kvm_exit_event(sample->evsel)) in mmio_event_begin() 45 if (evsel__name_is(sample->evsel, "kvm:kvm_mmio") && in mmio_event_begin() 46 perf_sample__intval(sample, "type") == KVM_TRACE_MMIO_WRITE) { in mmio_event_begin() 47 mmio_event_get_key(sample, key); in mmio_event_begin() 54 static bool mmio_event_end(struct perf_sample *sample, struct event_key *key) 57 if (kvm_entry_event(sample in mmio_event_end() 39 mmio_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) mmio_event_begin() argument 55 mmio_event_end(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) mmio_event_end() argument 90 ioport_event_get_key(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) ioport_event_get_key() argument 98 ioport_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) ioport_event_begin() argument 134 msr_event_get_key(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) msr_event_get_key() argument 142 msr_event_begin(struct evsel * evsel,struct perf_sample * sample,struct event_key * key) msr_event_begin() argument [all...] |
| /linux/net/netfilter/ |
| H A D | xt_rateest.c | 18 struct gnet_stats_rate_est64 sample = {0}; in xt_rateest_mt() local 22 gen_estimator_read(&info->est1->rate_est, &sample); in xt_rateest_mt() 25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 26 pps1 = info->pps1 >= sample.pps ? info->pps1 - sample.pps : 0; in xt_rateest_mt() 28 bps1 = sample.bps; in xt_rateest_mt() 29 pps1 = sample.pps; in xt_rateest_mt() 36 gen_estimator_read(&info->est2->rate_est, &sample); in xt_rateest_mt() 39 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0; in xt_rateest_mt() 40 pps2 = info->pps2 >= sample.pps ? info->pps2 - sample.pps : 0; in xt_rateest_mt() 42 bps2 = sample.bps; in xt_rateest_mt() [all …]
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | 392 static PyObject *python_process_callchain(struct perf_sample *sample, in python_process_callchain() argument 402 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain() 407 sample, NULL, NULL, in python_process_callchain() 483 static PyObject *python_process_brstack(struct perf_sample *sample, 486 struct branch_stack *br = sample->branch_stack; in python_process_brstack() 487 struct branch_entry *entries = perf_sample__branch_entries(sample); in python_process_brstack() 523 thread__find_map_fb(thread, sample->cpumode, in python_process_brstack() 529 thread__find_map_fb(thread, sample->cpumode, in python_process_brstack() 571 static PyObject *python_process_brstacksym(struct perf_sample *sample, 574 struct branch_stack *br = sample in python_process_brstacksym() 484 python_process_brstack(struct perf_sample * sample,struct thread * thread) python_process_brstack() argument 572 python_process_brstacksym(struct perf_sample * sample,struct thread * thread) python_process_brstacksym() argument 655 set_sample_read_in_dict(PyObject * dict_sample,struct perf_sample * sample,struct evsel * evsel) set_sample_read_in_dict() argument 698 set_sample_datasrc_in_dict(PyObject * dict,struct perf_sample * sample) set_sample_datasrc_in_dict() argument 743 set_regs_in_dict(PyObject * dict,struct perf_sample * sample,struct evsel * evsel,uint16_t e_machine,uint32_t e_flags) set_regs_in_dict() argument 823 python_process_sample_flags(struct perf_sample * sample,PyObject * dict_sample) python_process_sample_flags() argument 833 get_perf_sample_dict(struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al,PyObject * callchain) get_perf_sample_dict() argument 938 python_process_tracepoint(struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al) python_process_tracepoint() argument 1433 python_export_context_switch(struct db_export * dbe,u64 db_id,struct machine * machine,struct perf_sample * sample,u64 th_out_id,u64 comm_out_id,u64 th_in_id,u64 comm_in_id,int flags) python_export_context_switch() argument 1467 python_process_general_event(struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al) python_process_general_event() argument 1504 python_process_event(union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al) python_process_event() argument 1527 python_process_throttle(union perf_event * event,struct perf_sample * sample,struct machine * machine) python_process_throttle() argument 1558 python_do_process_switch(union perf_event * event,struct perf_sample * sample,struct machine * machine) python_do_process_switch() argument 1598 python_process_switch(union perf_event * event,struct perf_sample * sample,struct machine * machine) python_process_switch() argument [all...] |
| /linux/tools/testing/selftests/rust/ |
| H A D | test_probe_samples.sh | 23 for sample in "${rust_sample_modules[@]}"; do 24 if ! /sbin/modprobe -n -q "$sample"; then 25 ktap_skip_all "module $sample is not found in /lib/modules/$(uname -r)" 32 for sample in "${rust_sample_modules[@]}"; do 33 if /sbin/modprobe -q "$sample"; then 34 /sbin/modprobe -q -r "$sample" 35 ktap_test_pass "$sample" 37 ktap_test_fail "$sample"
|
| /linux/samples/qmi/ |
| H A D | qmi_sample_client.c | 456 struct qmi_sample *sample; in qmi_sample_probe() local 460 sample = devm_kzalloc(&pdev->dev, sizeof(*sample), GFP_KERNEL); in qmi_sample_probe() 461 if (!sample) in qmi_sample_probe() 464 ret = qmi_handle_init(&sample->qmi, TEST_DATA_REQ_MAX_MSG_LEN_V01, in qmi_sample_probe() 471 ret = kernel_connect(sample->qmi.sock, (struct sockaddr_unsized *)sq, in qmi_sample_probe() 480 sample->de_dir = debugfs_create_dir(path, qmi_debug_dir); in qmi_sample_probe() 481 if (IS_ERR(sample->de_dir)) { in qmi_sample_probe() 482 ret = PTR_ERR(sample->de_dir); in qmi_sample_probe() 486 sample in qmi_sample_probe() 516 struct qmi_sample *sample = platform_get_drvdata(pdev); qmi_sample_remove() local [all...] |
| /linux/tools/perf/dlfilters/ |
| H A D | dlfilter-show-cycles.c | 80 int filter_event_early(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event_early() argument 82 __s32 cpu = sample->cpu; in filter_event_early() 83 __s32 tid = sample->tid; in filter_event_early() 86 if (!sample->cyc_cnt) in filter_event_early() 89 pos = event_entry(sample->event); in filter_event_early() 92 cycles[cpu][pos] += sample->cyc_cnt; in filter_event_early() 94 add_entry(tid, pos, sample->cyc_cnt); in filter_event_early() 106 int filter_event(void *data, const struct perf_dlfilter_sample *sample, void *ctx) in filter_event() argument 108 __s32 cpu = sample->cpu; in filter_event() 109 __s32 tid = sample->tid; in filter_event() [all …]
|
| /linux/samples/ |
| H A D | Kconfig | 5 You can build and test sample kernel code here. 10 bool "auxdisplay sample" 57 tristate "Build sample module for kernel access to Ftrace instances" 67 different kobject sample modules showing how to use kobjects, 101 different kfifo sample modules showing how to use the 114 tristate "Build qmi client sample -- loadable modules only" 120 Build an QMI client sample driver, which demonstrates how to 124 tristate "Build rpmsg client sample -- loadable modules only" 127 Build an rpmsg client sample driver, which demonstrates how 135 Build sample liv [all...] |