Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 8 of 8) sorted by relevance

/tools/perf/util/
Dheader.c224 if (ff->ph->needs_swap) in do_read_u32()
237 if (ff->ph->needs_swap) in do_read_u64()
312 session = container_of(ff->ph, struct perf_session, header); in write_build_id()
884 session = container_of(ff->ph, struct perf_session, header); in write_auxtrace()
895 return do_write(ff, &ff->ph->env.clock.clockid_res_ns, in write_clockid()
896 sizeof(ff->ph->env.clock.clockid_res_ns)); in write_clockid()
914 data32 = ff->ph->env.clock.clockid; in write_clock_data()
921 data64 = &ff->ph->env.clock.tod_ns; in write_clock_data()
928 data64 = &ff->ph->env.clock.clockid_ns; in write_clock_data()
939 session = container_of(ff->ph, struct perf_session, header); in write_dir_format()
[all …]
Dheader.h81 struct perf_header *ph, int fd);
94 struct perf_header *ph; member
131 struct perf_header *ph,
Ddata-convert-bt.c1333 struct perf_header *ph = &session->header; in setup_streams() local
1340 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()
Dsynthetic-events.c2036 ff.ph = &session->header; in perf_event__synthesize_features()
/tools/testing/selftests/proc/
Dproc-pid-vm.c151 struct elf64_phdr ph; in make_exe() local
155 {&ph, sizeof(struct elf64_phdr)}, in make_exe()
184 memset(&ph, 0, sizeof(ph)); in make_exe()
185 ph.p_type = 1; in make_exe()
186 ph.p_flags = (1<<2)|1; in make_exe()
187 ph.p_offset = 0; in make_exe()
188 ph.p_vaddr = VADDR; in make_exe()
189 ph.p_paddr = 0; in make_exe()
190 ph.p_filesz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; in make_exe()
191 ph.p_memsz = sizeof(struct elf64_hdr) + sizeof(struct elf64_phdr) + len; in make_exe()
[all …]
/tools/testing/selftests/netfilter/
Dnf-queue.c80 struct nfqnl_msg_packet_hdr *ph = NULL; in queue_cb() local
87 ph = mnl_attr_get_payload(tb[NFQA_PACKET_HDR]); in queue_cb()
88 id = ntohl(ph->packet_id); in queue_cb()
92 ntohs(ph->hw_protocol), ph->hook); in queue_cb()
94 if (ph->hook >= 5) { in queue_cb()
95 fprintf(stderr, "Unknown hook %d\n", ph->hook); in queue_cb()
114 queue_stats[ph->hook]++; in queue_cb()
/tools/perf/
Dbuiltin-timechart.c1505 struct perf_header *ph, in process_header() argument
1514 tchart->numcpus = ph->env.nr_cpus_avail; in process_header()
1521 if (svg_build_topology_map(&ph->env)) in process_header()
/tools/power/pm-graph/
Dsleepgraph.py3586 ph = p if 'machine' in p else lp
3587 terr = '%s%s failed in %s phase' % (sysvals.suspendmode, tn, ph)