Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 11 of 11) sorted by relevance

/tools/perf/scripts/perl/
Drw-by-file.pl45 $writes{$fd}{bytes_written} += $count;
69 foreach my $fd (sort {$writes{$b}{bytes_written} <=>
70 $writes{$a}{bytes_written}} keys %writes) {
72 my $bytes_written = $writes{$fd}{bytes_written};
73 printf("%6u %10u %10u\n", $fd, $total_writes, $bytes_written);
Drwtop.pl87 $writes{$common_pid}{bytes_written} += $count;
160 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=>
161 ($writes{$a}{bytes_written} || 0)} keys %writes) {
164 my $bytes_written = $writes{$pid}{bytes_written} || 0;
167 $total_writes, $bytes_written);
Drw-by-pid.pl68 $writes{$common_pid}{bytes_written} += $count;
123 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=>
124 ($writes{$a}{bytes_written} || 0)} keys %writes) {
127 my $bytes_written = $writes{$pid}{bytes_written} || 0;
130 $total_writes, $bytes_written);
/tools/testing/selftests/sparc64/drivers/
Dadi-test.c242 int ret, bytes_written = 0; in write_adi() local
247 ret = write(fd, buf + bytes_written, buf_sz - bytes_written); in write_adi()
254 bytes_written += ret; in write_adi()
255 } while (bytes_written < buf_sz); in write_adi()
258 DEBUG_PRINT_L3("\tWrote %d of %d bytes\n", bytes_written, buf_sz); in write_adi()
260 return bytes_written; in write_adi()
266 int ret, bytes_written = 0; in pwrite_adi() local
274 ret = pwrite(fd, buf + bytes_written, in pwrite_adi()
275 buf_sz - bytes_written, cur_offset); in pwrite_adi()
285 bytes_written += ret; in pwrite_adi()
[all …]
/tools/hv/
Dhv_fcopy_daemon.c88 ssize_t bytes_written; in hv_copy_data() local
91 bytes_written = pwrite(target_fd, cpmsg->data, cpmsg->size, in hv_copy_data()
95 if (bytes_written != cpmsg->size) { in hv_copy_data()
105 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data()
/tools/power/cpupower/lib/
Dcpuidle.c233 int bytes_written; in cpuidle_state_disable() local
244 bytes_written = cpuidle_state_write_file(cpu, idlestate, "disable", in cpuidle_state_disable()
246 if (bytes_written) in cpuidle_state_disable()
/tools/power/cpupower/utils/helpers/
Dsysfs.c303 int bytes_written; in sysfs_idlestate_disable() local
314 bytes_written = sysfs_idlestate_write_file(cpu, idlestate, "disable", in sysfs_idlestate_disable()
316 if (bytes_written) in sysfs_idlestate_disable()
/tools/perf/
Dbuiltin-inject.c44 u64 bytes_written; member
64 inject->bytes_written += size; in output_bytes()
270 inject->bytes_written += n; in perf_event__jit_repipe_mmap()
308 inject->bytes_written += n; in perf_event__jit_repipe_mmap2()
736 session->header.data_size = inject->bytes_written; in __cmd_inject()
Dbuiltin-record.c78 u64 bytes_written; member
115 (rec->bytes_written >= rec->switch_output.size); in switch_output_size()
134 rec->bytes_written += size; in record__write()
326 rec->bytes_written += aio.size; in record__aio_push()
950 u64 bytes_written = rec->bytes_written; in record__mmap_read_evlist() local
1014 if (bytes_written != rec->bytes_written) in record__mmap_read_evlist()
1073 rec->session->header.data_size += rec->bytes_written; in record__finish_output()
1137 rec->bytes_written = 0; in record__switch_output()
1267 rec->bytes_written += err; in record__synthesize()
Dbuiltin-stat.c168 u64 bytes_written; member
224 perf_stat.bytes_written += event->header.size; in process_synthesized_event()
1999 perf_stat.session->header.data_size += perf_stat.bytes_written; in cmd_stat()
/tools/perf/util/
Djitdump.c51 u64 bytes_written; member
67 u64 bytes_written; member
365 jd->bytes_written += size; in jit_inject_event()
787 *nbytes = jd.bytes_written; in jit_process()