Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 57) sorted by relevance

123

/tools/perf/arch/arm64/annotate/
Dinstructions.c16 char *s = strchr(ops->raw, ','), *target, *endptr; in arm64_mov__parse()
22 ops->source.raw = strdup(ops->raw); in arm64_mov__parse()
25 if (ops->source.raw == NULL) in arm64_mov__parse()
29 ops->target.raw = strdup(target); in arm64_mov__parse()
30 if (ops->target.raw == NULL) in arm64_mov__parse()
55 zfree(&ops->target.raw); in arm64_mov__parse()
57 zfree(&ops->source.raw); in arm64_mov__parse()
/tools/testing/selftests/timers/
Draw_skew.c69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument
85 *raw = mid; in get_monotonic_and_raw()
94 struct timespec mon, raw, start, end; in main() local
100 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
107 get_monotonic_and_raw(&mon, &raw); in main()
109 delta1 = diff_timespec(mon, raw); in main()
118 get_monotonic_and_raw(&mon, &raw); in main()
122 delta2 = diff_timespec(mon, raw); in main()
Dadjtick.c69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument
76 clock_gettime(CLOCK_MONOTONIC_RAW, raw); in get_monotonic_and_raw()
89 *raw = mid; in get_monotonic_and_raw()
170 struct timespec raw; in main() local
177 if (clock_gettime(CLOCK_MONOTONIC_RAW, &raw)) { in main()
/tools/perf/arch/s390/annotate/
Dinstructions.c13 tok = strchr(ops->raw, ','); in s390_call__parse()
60 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse()
66 ops->source.raw = strdup(ops->raw); in s390_mov__parse()
69 if (ops->source.raw == NULL) in s390_mov__parse()
73 ops->target.raw = strdup(target); in s390_mov__parse()
74 if (ops->target.raw == NULL) in s390_mov__parse()
97 zfree(&ops->target.raw); in s390_mov__parse()
99 zfree(&ops->source.raw); in s390_mov__parse()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-file_endian.txt7 raw data being accessed by the tep handler.
26 The _tep_is_file_bigendian()_ function gets the endianness of the raw data,
30 The _tep_set_file_bigendian()_ function sets the endianness of raw data being
35 _TEP_LITTLE_ENDIAN_ - the raw data is in little endian format,
36 _TEP_BIG_ENDIAN_ - the raw data is in big endian format.
54 /* The raw data is in big endian */
56 /* The raw data is in little endian */
Dlibtraceevent-endian_read.txt6 tep_read_number - Reads a number from raw data.
19 The _tep_read_number()_ function reads an integer from raw data, taking into
20 account the endianness of the raw data and the current host. The _tep_ argument
21 is the trace event parser context. The _ptr_ is a pointer to the raw data, where
Dlibtraceevent-field_read.txt6 tep_read_number_field - Reads a number from raw data.
20 raw _data_ and stores it in the _value_. The function sets the _value_ according
21 to the endianness of the raw data and the current machine and stores it in
/tools/testing/selftests/bpf/progs/
Dtest_tc_neigh.c93 __u32 *raw = data; in tc_chk() local
98 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
Dtest_tc_neigh_fib.c82 __u32 *raw = data; in tc_chk() local
87 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
/tools/perf/Documentation/
Dperf-lock.txt25 'perf lock script' shows raw lock events.
42 --dump-raw-trace::
43 Dump raw trace in ASCII.
Dperf-mem.txt44 --dump-raw-samples::
45 Dump the raw decoded samples on the screen in a format that is easy to parse with
50 Specify the field separator used when dump raw samples (-D option). By default,
Dperf-annotate.txt51 --dump-raw-trace::
52 Dump raw trace in ASCII.
97 --asm-raw::
98 Show raw instruction encoding of assembly instructions.
Dperf-list.txt93 For instance For x86 CPUs NNN represents the raw register encoding with the
114 raw encoding of 0x1A8 can be used:
131 perf also supports an extended syntax for specifying raw parameters
135 The available PMUs and their raw parameters can be listed with
139 For example the raw event "LSD.UOPS" core pmu event above could
304 Support raw format:
306 . '--raw-dump', shows the raw-dump of all the events.
307 . '--raw-dump [hw|sw|cache|tracepoint|pmu|event_glob]', shows the raw-dump of
Dperf-kmem.txt54 --raw-ip::
55 Print raw ip instead of symbol
/tools/include/uapi/linux/
Dfscrypt.h57 __u8 raw[FSCRYPT_MAX_KEY_SIZE]; member
119 __u8 raw[]; member
128 __u8 raw[]; member
/tools/perf/util/
Dvalues.h26 int raw);
Dmetricgroup.c478 static void metricgroup__print_strlist(struct strlist *metrics, bool raw) in metricgroup__print_strlist() argument
484 if (raw) in metricgroup__print_strlist()
490 if (raw) in metricgroup__print_strlist()
495 bool raw, bool details) in metricgroup__print() argument
547 if (raw) in metricgroup__print()
573 if (!raw) in metricgroup__print()
581 if (metricgroups && !raw) in metricgroup__print()
583 else if (metrics && !raw) in metricgroup__print()
591 printf("%s%s%s", me->name, metrics && !raw ? ":" : "", raw ? " " : "\n"); in metricgroup__print()
593 metricgroup__print_strlist(me->metrics, raw); in metricgroup__print()
[all …]
Dannotate.c211 zfree(&ops->source.raw); in ins__delete()
213 zfree(&ops->target.raw); in ins__delete()
220 return scnprintf(bf, size, "%-*s %s", max_ins_name, ins->name, ops->raw); in ins__raw_scnprintf()
248 ops->target.addr = strtoull(ops->raw, &endptr, 16); in call__parse()
342 const char *c = strchr(ops->raw, ','); in jump__parse()
345 ops->raw_comment = strchr(ops->raw, arch->objdump.comment_char); in jump__parse()
346 ops->raw_func_start = strchr(ops->raw, '<'); in jump__parse()
374 ops->target.addr = strtoull(ops->raw, NULL, 16); in jump__parse()
426 c = strchr(ops->raw, ','); in jump__scnprintf()
444 ins->name, c ? c - ops->raw : 0, ops->raw, in jump__scnprintf()
[all …]
Dannotate.h33 char *raw; member
37 char *raw; member
47 char *raw; member
224 int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw, int max_ins_nam…
Dmetricgroup.h56 bool raw, bool details);
Dintel-pt.c1503 struct perf_synth_intel_ptwrite raw; in intel_pt_synth_ptwrite_sample() local
1513 raw.flags = 0; in intel_pt_synth_ptwrite_sample()
1514 raw.ip = !!(ptq->state->flags & INTEL_PT_FUP_IP); in intel_pt_synth_ptwrite_sample()
1515 raw.payload = cpu_to_le64(ptq->state->ptw_payload); in intel_pt_synth_ptwrite_sample()
1517 sample.raw_size = perf_synth__raw_size(raw); in intel_pt_synth_ptwrite_sample()
1518 sample.raw_data = perf_synth__raw_data(&raw); in intel_pt_synth_ptwrite_sample()
1529 struct perf_synth_intel_cbr raw; in intel_pt_synth_cbr_sample() local
1543 raw.flags = cpu_to_le32(flags); in intel_pt_synth_cbr_sample()
1544 raw.freq = cpu_to_le32(raw.cbr * pt->cbr2khz); in intel_pt_synth_cbr_sample()
1545 raw.reserved3 = 0; in intel_pt_synth_cbr_sample()
[all …]
Dparse-events.l67 static int raw(yyscan_t scanner) in raw() function
298 r{num_raw_hex} { return raw(yyscanner); }
299 r0x{num_raw_hex} { return raw(yyscanner); }
380 r{num_raw_hex} { return raw(yyscanner); }
/tools/perf/scripts/python/
Dsched-migration.py272 raw = "CPU: %d\n" % cpu
273 raw += "Last event : %s\n" % rq.event.__repr__()
274 raw += "Timestamp : %d.%06d\n" % (ts.start / (10 ** 9), (ts.start % (10 ** 9)) / 1000)
275 raw += "Duration : %6d us\n" % ((ts.end - ts.start) / (10 ** 6))
276 raw += "Load = %d\n" % rq.load()
278 raw += "%s \n" % thread_name(t)
280 self.root_win.update_summary(raw)
/tools/testing/selftests/net/
Dpsock_tpacket.c94 void *raw; member
241 ppd.raw = ring->rd[frame_num].iov_base; in walk_v1_v2_rx()
245 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx()
251 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx()
260 __v1_v2_rx_user_ready(ppd.raw, ring->version); in walk_v1_v2_rx()
423 ppd.raw = next; in walk_tx()
430 memcpy((uint8_t *) ppd.raw + TPACKET_HDRLEN - in walk_tx()
440 memcpy((uint8_t *) ppd.raw + TPACKET2_HDRLEN - in walk_tx()
/tools/testing/selftests/netfilter/
Dconntrack_vrf.sh111 type filter hook prerouting priority raw;
121 type filter hook output priority raw;
165 type filter hook output priority raw;

123