Home
last modified time | relevance | path

Searched refs:aux (Results 1 – 25 of 31) sorted by relevance

12

/tools/perf/arch/s390/util/
A Dauxtrace.c90 struct auxtrace_record *aux; in auxtrace_record__init() local
110 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
111 if (aux == NULL) { in auxtrace_record__init()
116 aux->parse_snapshot_options = cpumsf_parse_snapshot_options; in auxtrace_record__init()
117 aux->recording_options = cpumsf_recording_options; in auxtrace_record__init()
118 aux->info_priv_size = cpumsf_info_priv_size; in auxtrace_record__init()
119 aux->info_fill = cpumsf_info_fill; in auxtrace_record__init()
120 aux->free = cpumsf_free; in auxtrace_record__init()
121 aux->reference = cpumsf_reference; in auxtrace_record__init()
123 return aux; in auxtrace_record__init()
/tools/testing/selftests/perf_events/
A Dmmap.c43 bool aux; in FIXTURE_VARIANT() local
49 .aux = false, in FIXTURE_VARIANT_ADD()
53 FIXTURE_VARIANT_ADD(perf_mmap, aux) in FIXTURE_VARIANT_ADD() argument
55 .aux = true, in FIXTURE_VARIANT_ADD()
87 void *aux, *region; in FIXTURE_SETUP() local
127 if (!variant->aux) in FIXTURE_SETUP()
136 if (aux == MAP_FAILED) { in FIXTURE_SETUP()
144 munmap(aux, AUX_SIZE); in FIXTURE_SETUP()
164 if (!variant->aux) { in FIXTURE_SETUP()
176 ASSERT_NE(aux, MAP_FAILED); in FIXTURE_SETUP()
[all …]
/tools/perf/tests/shell/base_probe/
A Dtest_invalid_options.sh66 ! $CMD_PERF probe $opt > /dev/null 2> $LOGS_DIR/aux.log
69 …on/check_all_patterns_found.pl "Error: switch .+ cannot be used with switch .+" < $LOGS_DIR/aux.log
76 cat $LOGS_DIR/aux.log | grep "Error" >> $LOGS_DIR/invalid_options_mutually_exclusive.log
/tools/testing/selftests/proc/
A Dproc-fsconfig-hidepid.c28 static inline int fsconfig(int fd, unsigned int cmd, const char *key, const void *val, int aux) in fsconfig() argument
30 return syscall(__NR_fsconfig, fd, cmd, key, val, aux); in fsconfig()
/tools/testing/selftests/filesystems/
A Dwrappers.h22 const char *value, int aux) in sys_fsconfig() argument
24 return syscall(__NR_fsconfig, fd, cmd, key, value, aux); in sys_fsconfig()
A Dfile_stressor.c27 const char *value, int aux) in sys_fsconfig() argument
29 return syscall(__NR_fsconfig, fd, cmd, key, value, aux); in sys_fsconfig()
/tools/perf/bench/
A Depoll-wait.c160 void *aux; in shuffle() local
166 aux = calloc(1, size); in shuffle()
167 if (!aux) in shuffle()
174 memcpy(aux, &carray[j], size); in shuffle()
176 memcpy(&carray[i*size], aux, size); in shuffle()
179 free(aux); in shuffle()
/tools/perf/tests/shell/
A Dtest_intel_pt.sh511 …if ! perf_record_no_decode -o "${perfdatafile}" --aux-sample=8192 -e '{intel_pt//u,branch-misses:u…
568 perf_record_no_bpf -o "${perfdatafile}" --aux-sample -e '{intel_pt//,cycles}:u' uname
655 if ! perf_record_no_decode -o "${perfdatafile}" -e intel_pt/aux-action=start-paused/u uname ; then
660 -e intel_pt/aux-action=start-paused/u \
661 -e instructions/period=50000,aux-action=resume,name=Resume/u \
662 -e instructions/period=100000,aux-action=pause,name=Pause/u uname ; then
/tools/perf/util/
A Devent.c457 event->aux.aux_offset, event->aux.aux_size, in perf_event__fprintf_aux()
458 event->aux.flags, in perf_event__fprintf_aux()
459 event->aux.flags & PERF_AUX_FLAG_TRUNCATED ? "T" : "", in perf_event__fprintf_aux()
460 event->aux.flags & PERF_AUX_FLAG_OVERWRITE ? "O" : "", in perf_event__fprintf_aux()
461 event->aux.flags & PERF_AUX_FLAG_PARTIAL ? "P" : "", in perf_event__fprintf_aux()
462 event->aux.flags & PERF_AUX_FLAG_COLLISION ? "C" : ""); in perf_event__fprintf_aux()
A Dtool.h55 aux, member
A Dparse-events.l334 aux-output { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_AUX_OUTPUT); }
335 aux-action { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_AUX_ACTION); }
336 aux-sample-size { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_AUX_SAMPLE_SIZE); }
A Dsession.c364 event->aux.aux_offset = bswap_64(event->aux.aux_offset); in perf_event__aux_swap()
365 event->aux.aux_size = bswap_64(event->aux.aux_size); in perf_event__aux_swap()
366 event->aux.flags = bswap_64(event->aux.flags); in perf_event__aux_swap()
369 swap_sample_id_all(event, &event->aux + 1); in perf_event__aux_swap()
1334 if (tool->aux == perf_event__process_aux) { in machines__deliver_event()
1335 if (event->aux.flags & PERF_AUX_FLAG_TRUNCATED) in machines__deliver_event()
1337 if (event->aux.flags & PERF_AUX_FLAG_PARTIAL) in machines__deliver_event()
1339 if (event->aux.flags & PERF_AUX_FLAG_COLLISION) in machines__deliver_event()
1342 return tool->aux(tool, event, sample, machine); in machines__deliver_event()
1748 if (session->tool->aux == perf_event__process_aux && in perf_session__warn_about_errors()
[all …]
A Dcs-etm.c991 struct cs_etm_auxtrace *aux = container_of(session->auxtrace, in cs_etm__free_events() local
994 struct auxtrace_queues *queues = &aux->queues; in cs_etm__free_events()
1007 struct cs_etm_auxtrace *aux = container_of(session->auxtrace, in cs_etm__free() local
1013 for (i = 0; i < aux->num_cpu; i++) in cs_etm__free()
1014 zfree(&aux->metadata[i]); in cs_etm__free()
1016 zfree(&aux->metadata); in cs_etm__free()
1017 zfree(&aux); in cs_etm__free()
1023 struct cs_etm_auxtrace *aux = container_of(session->auxtrace, in cs_etm__evsel_is_auxtrace() local
1027 return evsel->core.attr.type == aux->pmu_type; in cs_etm__evsel_is_auxtrace()
3153 if (!event->aux.aux_size) in cs_etm__queue_aux_records_cb()
[all …]
A Dtool.c272 tool->aux = perf_event__process_aux; in perf_tool__init()
/tools/testing/selftests/bpf/prog_tests/
A Dbpf_obj_pinning.c18 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig() argument
20 return syscall(__NR_fsconfig, fs_fd, cmd, key, val, aux); in sys_fsconfig()
A Dtoken.c41 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig() argument
43 return syscall(__NR_fsconfig, fs_fd, cmd, key, val, aux); in sys_fsconfig()
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_testmod.c1280 prog->aux->priv_stack_requested = true; in st_ops3_check_member()
1281 prog->aux->recursion_detected = test_1_recursion_detected; in st_ops3_check_member()
1400 if (strcmp(prog->aux->attach_func_name, "test_prologue") && in st_ops_gen_prologue()
1401 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_prologue()
1404 if (!strncmp(prog->aux->name, KFUNC_PRO_EPI_PREFIX, strlen(KFUNC_PRO_EPI_PREFIX))) in st_ops_gen_prologue()
1426 if (strcmp(prog->aux->attach_func_name, "test_epilogue") && in st_ops_gen_epilogue()
1427 strcmp(prog->aux->attach_func_name, "test_pro_epilogue")) in st_ops_gen_epilogue()
1430 if (!strncmp(prog->aux->name, KFUNC_PRO_EPI_PREFIX, strlen(KFUNC_PRO_EPI_PREFIX))) in st_ops_gen_epilogue()
/tools/testing/selftests/vDSO/
A Dparse_vdso.c235 ELF(Verdaux) *aux = (ELF(Verdaux)*)((char *)def + def->vd_aux); in vdso_match_version()
237 && !strcmp(name, vdso_info.symstrings + aux->vda_name); in vdso_match_version()
/tools/bpf/bpftool/skeleton/
A Dpid_iter.bpf.c43 return BPF_CORE_READ((struct bpf_prog *)ent, aux, id); in get_obj_id()
/tools/perf/Documentation/
A Dperf-intel-pt.txt558 *aux-action=start-paused*::
568 *aux-sample-size*::
572 *aux-output*::
576 *aux-action*::
585 --aux-sample
589 --aux-sample=8192
601 An alternative to '--aux-sample' is to add the config term 'aux-sample-size' to
1941 …cord --kcore -e intel_pt/aux-action=start-paused/k,syscalls:sys_enter_newuname/aux-action=resume/,…
1996 … --kcore -a -e intel_pt/aux-action=start-paused/k -e mem:0xffffffffb605bf60:x/aux-action=resume/ -…
2006 … --kcore -aR -e intel_pt/aux-action=start-paused/k -e probe:__alloc_pages/aux-action=resume/ -e pr…
[all …]
A Ditrace.txt10 of aux-output (refer to perf record)
A Dperf-record.txt69 - 'aux-output': Generate AUX records instead of events. This requires
71 - 'aux-action': "pause" or "resume" to pause or resume an AUX
75 - 'aux-sample-size': Set sample size for AUX area sampling. If the
76 '--aux-sample' option has been used, set aux-sample-size=0 to disable
541 --aux-sample[=OPTIONS]::
/tools/testing/selftests/net/lib/
A Dcsum.c697 struct tpacket_auxdata *aux = NULL; in recv_get_packet_csum_status() local
713 aux = (void *)CMSG_DATA(cm); in recv_get_packet_csum_status()
716 if (!aux) in recv_get_packet_csum_status()
719 return aux->tp_status; in recv_get_packet_csum_status()
/tools/lib/perf/include/perf/
A Devent.h537 struct perf_record_aux aux; member
/tools/testing/selftests/kvm/include/x86/
A Dprocessor.h451 static inline uint64_t rdtscp(uint32_t *aux) in rdtscp() argument
455 __asm__ __volatile__("rdtscp" : "=a"(eax), "=d"(edx), "=c"(*aux)); in rdtscp()

Completed in 692 milliseconds

12