Home
last modified time | relevance | path

Searched refs:perf_data (Results 1 – 25 of 36) sorted by relevance

12

/linux/tools/perf/util/
H A Ddata.h29 struct perf_data { struct
46 static inline bool perf_data__is_read(struct perf_data *data) in perf_data__is_read() argument
51 static inline bool perf_data__is_write(struct perf_data *data) in perf_data__is_write()
56 static inline int perf_data__is_pipe(struct perf_data *data) in perf_data__is_pipe()
61 static inline bool perf_data__is_dir(struct perf_data *data) in perf_data__is_dir()
66 static inline bool perf_data__is_single_file(struct perf_data *data) in perf_data__is_single_file()
71 static inline int perf_data__fd(struct perf_data *data) in perf_data__fd()
79 int perf_data__open(struct perf_data *data);
80 void perf_data__close(struct perf_data *data);
81 ssize_t perf_data__read(struct perf_data *data, void *buf, size_t size);
[all …]
H A Ddata.c32 void perf_data__close_dir(struct perf_data *data) in perf_data__close_dir()
37 int perf_data__create_dir(struct perf_data *data, int nr) in perf_data__create_dir()
88 int perf_data__open_dir(struct perf_data *data) in perf_data__open_dir()
161 int perf_data__update_dir(struct perf_data *data) in perf_data__update_dir()
181 static bool check_pipe(struct perf_data *data) in check_pipe()
220 static int check_backup(struct perf_data *data) in check_backup()
254 static bool is_dir(struct perf_data *data) in is_dir()
264 static int open_file_read(struct perf_data *data) in open_file_read()
306 static int open_file_write(struct perf_data *data) in open_file_write()
321 static int open_file(struct perf_data *data) in open_file()
[all …]
H A Dsession.h77 struct perf_data *data;
108 struct perf_session *__perf_session__new(struct perf_data *data,
112 static inline struct perf_session *perf_session__new(struct perf_data *data, in perf_session__new()
H A Djit.h7 int jit_process(struct perf_session *session, struct perf_data *output,
H A Dsynthetic-events.h19 struct perf_data;
141 struct perf_data *data,
H A Djitdump.c36 struct perf_data *output;
61 struct perf_data output;
62 struct perf_data input;
822 struct perf_data *output, in jit_process()
H A Dintel-tpebs.c162 struct perf_data data = { in __sample_reader()
H A Ddata-convert-json.c323 struct perf_data data = { in bt_convert__perf2json()
H A Dheader.c1000 struct perf_data *data; in is_cpu_online()
1796 struct perf_data *data; in print_clock_data()
3092 struct perf_data *data; in process_hybrid_topology()
4086 struct perf_data *data) in perf_file_section__process()
4212 struct perf_data *data = session->data; in evsel__prepare_tracepoint_event()
H A Dsession.c50 struct perf_data *data = session->data; in perf_session__open()
137 struct perf_session *__perf_session__new(struct perf_data *data, in __perf_session__new()
2265 struct perf_data *data = session->data; in __perf_session__process_dir_events()
/linux/tools/perf/tests/shell/
H A Drecord+probe_libc_inet_pton.sh61 perf_data=`mktemp -u /tmp/perf.data.XXX`
71 perf record -e $event_name/$eventattr/ -o $perf_data ping -6 -c 1 ::1 > /dev/null 2>&1
73 if [ ! -e $perf_data ]; then
74 printf "FAIL: perf record failed to create \"%s\" \n" "$perf_data"
77 perf script -i $perf_data | tac | grep -m1 ^ping -B9 | tac > $perf_script
111 rm -f ${perf_data} ${perf_script} ${expected}
H A Dscript.sh85 perf_data="${temp_dir}/pp-perf.data"
88 perf record -o "${perf_data}" --sample-cpu uname
89 python3 "${pp}" -o "${output1_dir}" --jobs 4 --verbose -- perf script -i "${perf_data}"
90 python3 "${pp}" -o "${output2_dir}" --jobs 4 --verbose --per-cpu -- perf script -i "${perf_data}"
/linux/tools/perf/tests/
H A Dtopology.c36 struct perf_data data = { in session_write_header()
65 struct perf_data data = { in check_cpu_topology()
/linux/tools/perf/
H A Dbuiltin-evlist.c33 struct perf_data data = { in __cmd_evlist()
H A Dbuiltin-buildid-list.c87 struct perf_data data = { in perf_session__list_build_ids()
H A Dbuiltin-record.c157 struct perf_data data;
723 struct perf_data *data = &rec->data; in record__process_auxtrace()
1004 static int record__kcore_copy(struct machine *machine, struct perf_data *data) in record__kcore_copy()
1781 struct perf_data *data = &rec->data; in record__finish_output()
1843 struct perf_data *data = &rec->data; in record__switch_output()
2028 struct perf_data *data = &rec->data; in record__synthesize()
2364 struct perf_data *data = &rec->data; in __cmd_record()
H A Dbuiltin-buildid-cache.c386 struct perf_data data = { in cmd_buildid_cache()
H A Dbuiltin-mem.c268 struct perf_data data = { in report_raw_events()
H A Dbuiltin-inject.c82 struct perf_data data;
126 struct perf_data output;
242 static int copy_bytes(struct perf_inject *inject, struct perf_data *data, off_t size) in copy_bytes()
2364 struct perf_data data = { in cmd_inject()
H A Dbuiltin-report.c1046 struct perf_data *data = session->data; in __cmd_report()
1473 struct perf_data data = { in cmd_report()
H A Dbuiltin-diff.c74 struct perf_data data;
1901 struct perf_data *data = &d->data; in data_init()
H A Dbuiltin-annotate.c701 struct perf_data data = { in cmd_annotate()
H A Dbuiltin-kvm.c1608 struct perf_data file = { in read_events()
1916 struct perf_data data = { in kvm_events_live()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c4205 unsigned long long perf_data[NUM_RAPL_COUNTERS + 1]; in get_rapl_counters() local
4222 const ssize_t actual_read_size = read(rci->fd_perf, &perf_data[0], sizeof(perf_data)); in get_rapl_counters()
4236 assert(pi < ARRAY_SIZE(perf_data)); in get_rapl_counters()
4241 i, perf_data[pi], rci->scale[i], perf_data[pi] * rci->scale[i]); in get_rapl_counters()
4243 rci->data[i] = perf_data[pi]; in get_rapl_counters()
4302 unsigned long long perf_data[NUM_CSTATE_COUNTERS]; in get_cstate_counters() local
4314 ZERO_ARRAY(perf_data); in get_cstate_counters()
4364 memcpy(&perf_data[0], &perf_data_core[1], num_core_counters * sizeof(unsigned long long)); in get_cstate_counters()
4367 …memcpy(&perf_data[num_core_counters], &perf_data_pkg[1], num_pkg_counters * sizeof(unsigned long l… in get_cstate_counters()
4375 assert(pi < ARRAY_SIZE(perf_data)); in get_cstate_counters()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A Daudioreach.c18 struct apm_prop_data perf_data; member
323 cfg->perf_data.prop_id = APM_SUB_GRAPH_PROP_ID_PERF_MODE; in apm_populate_sub_graph_config()
324 cfg->perf_data.prop_size = APM_SG_PROP_ID_PERF_MODE_SIZE; in apm_populate_sub_graph_config()

12