Searched refs:sample (Results 201 - 225 of 311) sorted by relevance

1234567891011>>

/linux-master/tools/perf/arch/csky/util/
H A Dunwind-libdw.c13 struct regs_dump *user_regs = &ui->sample->user_regs;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dringbuf.c22 struct sample { struct
43 struct sample *s = data;
88 const size_t rec_sz = BPF_RINGBUF_HDR_SZ + sizeof(struct sample);
331 struct sample *s;
/linux-master/tools/lib/perf/Documentation/examples/
H A Dsampling.c89 array = event->sample.array;
/linux-master/arch/x86/purgatory/
H A DMakefile20 KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%,$(KBUILD_CFLAGS))
/linux-master/tools/perf/util/
H A Devsel.c160 * @sample_type: sample type
163 * PERF_SAMPLE_IDENTIFIER) in a sample event i.e. in the array of struct
193 * @sample_type: sample type
196 * (PERF_SAMPLE_ID or PERF_SAMPLE_IDENTIFIER) in a non-sample event i.e. if
197 * sample_id_all is used there is an id sample appended to non-sample events.
1986 pr_debug2_peo("switching off branch sample type no (cycles/flags)\n");
2179 struct perf_sample *sample)
2182 const __u64 *array = event->sample.array;
2190 sample
2177 perf_evsel__parse_id_sample(const struct evsel *evsel, const union perf_event *event, struct perf_sample *sample) argument
2780 evsel__rawptr(struct evsel *evsel, struct perf_sample *sample, const char *name) argument
2800 format_field__intval(struct tep_format_field *field, struct perf_sample *sample, bool needs_swap) argument
2839 evsel__intval(struct evsel *evsel, struct perf_sample *sample, const char *name) argument
2846 evsel__intval_common(struct evsel *evsel, struct perf_sample *sample, const char *name) argument
2853 evsel__taskstate(struct evsel *evsel, struct perf_sample *sample, const char *name) argument
[all...]
H A Dcallchain.h251 int sample__resolve_callchain(struct perf_sample *sample,
255 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
H A Dbuild-id.c47 struct perf_sample *sample,
52 struct thread *thread = machine__findnew_thread(machine, sample->pid,
53 sample->tid);
62 if (thread__find_map(thread, sample->cpumode, sample->ip, &al))
72 struct perf_sample *sample
92 .sample = build_id__mark_dso_hit,
45 build_id__mark_dso_hit(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct evsel *evsel __maybe_unused, struct machine *machine) argument
/linux-master/net/ipv4/
H A Dtcp_bic.c188 * ratio = (15*ratio + sample) / 16
190 static void bictcp_acked(struct sock *sk, const struct ack_sample *sample) argument
197 ca->delayed_ack += sample->pkts_acked -
H A Dtcp_cubic.c448 __bpf_kfunc static void cubictcp_acked(struct sock *sk, const struct ack_sample *sample) argument
455 if (sample->rtt_us < 0)
462 delay = sample->rtt_us;
/linux-master/tools/perf/tests/
H A Dhists_common.c108 struct perf_sample sample = { local
124 machine__process_mmap_event(machine, &fake_mmap_event, &sample);
H A Dthread-map.c65 struct perf_sample *sample __maybe_unused,
/linux-master/drivers/input/touchscreen/
H A Dad7877.c153 u16 sample ____cacheline_aligned;
216 req->xfer[1].rx_buf = &req->sample;
223 ret = status ? : req->sample;
259 int sample; local
294 req->xfer[3].rx_buf = &req->sample;
312 sample = req->sample;
316 return status ? : sample;
/linux-master/drivers/media/rc/
H A Drc-core-priv.h345 void lirc_bpf_run(struct rc_dev *dev, u32 sample);
348 static inline void lirc_bpf_run(struct rc_dev *dev, u32 sample) { } argument
/linux-master/samples/trace_events/
H A Dtrace-events-sample.h8 * In this case, it would look for sample-trace.h
14 * This file is called trace-events-sample.h but we want the system
15 * to be called "sample-trace". Therefore we must define the name of this
18 * #define TRACE_INCLUDE_FILE trace-events-sample
26 #define TRACE_SYSTEM sample-trace
606 * CFLAGS_trace-events-sample.o := -I$(src)
613 * CFLAGS_trace-events-sample.o := -I$(PWD)
629 #define TRACE_INCLUDE_FILE trace-events-sample
/linux-master/net/mac80211/
H A Drc80211_minstrel_ht.c704 u16 *rates = mi->sample[type].sample_rates;
791 u16 cur = mi->sample[type].sample_rates[i];
807 u16 *rates = mi->sample[type].sample_rates;
881 group = mi->sample[type].sample_group;
897 mi->sample[type].sample_group = group;
934 * get sorted into the slow sample bucket, but only if it has room
951 slow_rates = mi->sample[MINSTREL_SAMPLE_TYPE_SLOW].sample_rates;
952 group = mi->sample[MINSTREL_SAMPLE_TYPE_JUMP].sample_group;
1002 mi->sample[MINSTREL_SAMPLE_TYPE_JUMP].sample_group = group;
1018 rates = mi->sample[MINSTREL_SAMPLE_TYPE_IN
[all...]
/linux-master/drivers/isdn/mISDN/
H A Dl1oip_codec.c7 * -> compression by reducing the number of sample resolution to 4
22 Each sample is converted to a-LAW with only 16 steps of level resolution.
247 * The result size must be the number of sample in packet. (2 * input data)
312 int i1, i2, c, sample; local
345 sample = _4bit_to_ulaw[i1];
347 sample = _4bit_to_alaw[i1];
350 table_dec[(i1 << 4) | i2] |= (sample << 8);
351 table_dec[(i2 << 4) | i1] |= sample;
/linux-master/sound/drivers/
H A Dpcmtest.c164 * (relative position in the current sample)
256 size_t sample; local
262 for (sample = 0; sample < v_iter->s_rw_ch; sample++) {
265 pos_pattern = (pos_in_ch + sample * v_iter->sample_bytes
/linux-master/drivers/macintosh/
H A Drack-meter.c36 /* Number of samples in a sample buffer */
314 u32 sample = 0; local
317 sample >>= 1;
318 sample |= ((rm->ubuf[led] >= 0x80) << 15);
320 return (sample << 17) | (sample >> 15);
356 /* Fill it now. This routine converts the 8 bits depth sample array
/linux-master/tools/perf/
H A Dbuiltin-diff.c393 struct perf_sample *sample,
402 .sample = sample,
408 sample->time)) {
413 if (machine__resolve(machine, &al, sample) < 0) {
420 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) {
428 NULL, NULL, NULL, sample, true)) {
434 hist__account_cycles(sample->branch_stack, &al, sample, false,
447 if (!hists__add_entry(hists, &al, NULL, NULL, NULL, NULL, sample,
391 diff__process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c46 u8 *sample; local
60 sample = sample_end - SPECTRAL_HT20_SAMPLE_LEN + 1;
74 if ((sample[max_index] & 0xf8) != ((max_magnitude >> max_exp) & 0xf8))
84 u8 *sample; local
99 sample = sample_end - SPECTRAL_HT20_40_SAMPLE_LEN + 1;
117 if (((sample[upper_max_index + dc_pos] & 0xf8) !=
119 ((sample[lower_max_index] & 0xf8) !=
185 * sample and invalid, interpolate it.
332 * sample and invalid, interpolate it.
542 /* Only a single sample receive
[all...]
/linux-master/net/dccp/
H A Dinput.c423 /* Obtain usec RTT sample from SYN exchange (used by TFRC). */
523 u32 sample = dp->dccps_options_received.dccpor_timestamp_echo; local
549 /* Obtain usec RTT sample from SYN exchange (used by TFRC). */
550 if (likely(sample)) {
551 long delta = dccp_timestamp() - sample;
717 * dccp_sample_rtt - Validate and finalise computation of RTT sample
722 * called immediately when the ACK used for the RTT sample arrives.
730 DCCP_WARN("unusable RTT sample %ld, using min\n", delta);
734 DCCP_WARN("RTT sample %ld too large, using max\n", delta);
/linux-master/tools/perf/bench/
H A Dinject-buildid.c26 #include "util/sample.h"
63 "Number of sample events per mmap event (default: 100)"),
131 /* Fake address used by mmap and sample events */
203 /* zero-fill sample id header */
222 struct perf_sample sample = { local
231 event.header.size = perf_event__sample_event_size(&sample, bench_sample_type, 0);
233 perf_event__synthesize_sample(&event, bench_sample_type, 0, &sample);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c496 const struct ack_sample *sample)
504 if (sample->rtt_us < 0)
511 delay = sample->rtt_us;
495 BPF_STRUCT_OPS(bpf_cubic_acked, struct sock *sk, const struct ack_sample *sample) argument
/linux-master/kernel/events/
H A Dcore.c425 * max perf event sample rate
500 * get any real work done. This will drop the sample rate when
530 /* Decay the counter by 1 average sample. */
4491 * event->count would have been updated to a recent sample
6938 * - remaining sample size
6940 * fit in to the remaining sample size.
6952 * If we overflow the maximum size for the sample,
6979 * in to the sample max size
7025 * the sample. See also perf_aux_sample_output().
7118 * A set of common sample dat
7187 perf_event__output_id_sample(struct perf_event *event, struct perf_output_handle *handle, struct perf_sample_data *sample) argument
7929 struct perf_sample_data sample; local
8195 struct perf_sample_data sample; local
8299 struct perf_sample_data sample; local
8398 struct perf_sample_data sample; local
8525 struct perf_sample_data sample; local
8643 struct perf_sample_data sample; local
8949 struct perf_sample_data sample; local
8985 struct perf_sample_data sample; local
9036 struct perf_sample_data sample; local
9107 struct perf_sample_data sample; local
9166 struct perf_sample_data sample; local
9256 struct perf_sample_data sample; local
9360 struct perf_sample_data sample; local
9429 struct perf_sample_data sample; local
9465 struct perf_sample_data sample; local
10607 struct perf_sample_data sample; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Ddac.c55 * arbitrary limit to number of sense oscillations tolerated in one sample
61 * arbitrary limit to number of conflicting sample pairs to tolerate at a
196 /* take sample pairs until both samples in the pair agree */
242 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); local
311 sample = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset);
313 sample &= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset);
332 return sample;

Completed in 301 milliseconds

1234567891011>>