Home
last modified time | relevance | path

Searched +full:sample +full:- +full:time (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-timechart.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * builtin-timechart.c - make an svg timechart of system activity
30 #include <subcmd/parse-options.h>
31 #include "util/parse-events.h"
45 #define PWR_EVENT_EXIT -1
186 u64 time; member
201 struct per_pid *cursor = tchart->all_data; in find_create_pid()
204 if (cursor->pid == pid) in find_create_pid()
206 cursor = cursor->next; in find_create_pid()
210 cursor->pid = pid; in find_create_pid()
[all …]
Dbuiltin-sched.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "perf-sys.h"
21 #include "util/time-utils.h"
24 #include <subcmd/parse-options.h>
25 #include "util/trace-event.h"
102 /* in tsk->exit_state */
106 /* in tsk->state again */
147 struct perf_sample *sample, struct machine *machine);
150 struct perf_sample *sample, struct machine *machine);
153 struct perf_sample *sample, struct machine *machine);
[all …]
/kernel/linux/linux-6.6/tools/perf/
Dbuiltin-timechart.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * builtin-timechart.c - make an svg timechart of system activity
29 #include <subcmd/parse-options.h>
30 #include "util/parse-events.h"
41 #include <traceevent/event-parse.h>
48 #define PWR_EVENT_EXIT -1
189 u64 time; member
204 struct per_pid *cursor = tchart->all_data; in find_create_pid()
207 if (cursor->pid == pid) in find_create_pid()
209 cursor = cursor->next; in find_create_pid()
[all …]
Dbuiltin-kwork.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-kwork.c
25 #include <subcmd/parse-options.h>
26 #include <traceevent/event-parse.h>
61 if (l->cpu > r->cpu) in id_cmp()
63 if (l->cpu < r->cpu) in id_cmp()
64 return -1; in id_cmp()
66 if (l->id > r->id) in id_cmp()
68 if (l->id < r->id) in id_cmp()
69 return -1; in id_cmp()
[all …]
Dbuiltin-sched.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "perf-sys.h"
21 #include "util/time-utils.h"
24 #include <subcmd/parse-options.h>
25 #include "util/trace-event.h"
103 /* in tsk->exit_state */
107 /* in tsk->state again */
148 struct perf_sample *sample, struct machine *machine);
151 struct perf_sample *sample, struct machine *machine);
154 struct perf_sample *sample, struct machine *machine);
[all …]
Dbuiltin-kvm.c1 // SPDX-License-Identifier: GPL-2.0
5 #include "util/build-id.h"
16 #include <subcmd/parse-options.h>
17 #include "util/trace-event.h"
21 #include "util/synthetic-events.h"
24 #include "util/ordered-events.h"
25 #include "util/kvm-stat.h"
36 #include <sys/time.h>
59 if (vcpu == -1) \
60 return event->total.field; \
[all …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-report.txt1 perf-report(1)
5 ----
6 perf-report - Read perf.data (created by perf record) and display the profile
9 --------
11 'perf report' [-i <file> | --input=file]
14 -----------
19 -------
20 -i::
21 --input=::
24 -v::
[all …]
Dtips.txt1 For a higher level overview, try: perf report --sort comm,dso
2 Sample related events with: perf record -e '{cycles,instructions}:S'
4 Boolean options have negative forms, e.g.: perf report --no-children
5 Customize output of perf script with: perf script -F event,ip,sym
6 Generate a script for your data: perf script -g <lang>
9 Search options using a keyword: perf report -h <keyword>
10 Use parent filter to see specific call path: perf report -p <regex>
12 To see list of saved events and attributes: perf evlist -v
13 Use --symfs <dir> if your symbol files are in non-standard locations
14 To see callchains in a more compact form: perf report -g folded
[all …]
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-report.txt1 perf-report(1)
5 ----
6 perf-report - Read perf.data (created by perf record) and display the profile
9 --------
11 'perf report' [-i <file> | --input=file]
14 -----------
19 -------
20 -i::
21 --input=::
24 -v::
[all …]
Dtips.txt1 For a higher level overview, try: perf report --sort comm,dso
2 Sample related events with: perf record -e '{cycles,instructions}:S'
4 Boolean options have negative forms, e.g.: perf report --no-children
5 Customize output of perf script with: perf script -F event,ip,sym
6 Generate a script for your data: perf script -g <lang>
9 Search options using a keyword: perf report -h <keyword>
10 Use parent filter to see specific call path: perf report -p <regex>
12 To see list of saved events and attributes: perf evlist -v
13 Use --symfs <dir> if your symbol files are in non-standard locations
14 To see callchains in a more compact form: perf report -g folded
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dintel-pt.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2013-2015, Intel Corporation.
27 #include "thread-stack.h"
34 #include "intel-pt.h"
37 #include "util/synthetic-events.h"
38 #include "time-utils.h"
42 #include "intel-pt-decoder/intel-pt-log.h"
43 #include "intel-pt-decoder/intel-pt-decoder.h"
44 #include "intel-pt-decoder/intel-pt-insn-decoder.h"
45 #include "intel-pt-decoder/intel-pt-pkt-decoder.h"
[all …]
Ds390-cpumsf.c1 // SPDX-License-Identifier: GPL-2.0
4 * Auxtrace support for s390 CPU-Measurement Sampling Facility
17 * see Documentation/perf.data-file-format.txt.
26 * Perf events are not necessarily in time stamp order, as they can be
28 * processed in time order they need to be sorted first.
31 * time stamp lower than this record are processed (and displayed) before
49 * entries, the queue number and a time stamp. However the stack is sorted by
50 * the time stamps. The highest time stamp is at the bottom the lowest
51 * (nearest) time stamp is at the top. That sort order is maintained at all
58 * Each record is handled by s390_cpumsf_process_event(). The time stamp of
[all …]
/kernel/linux/linux-6.6/tools/perf/util/
Ds390-cpumsf.c1 // SPDX-License-Identifier: GPL-2.0
4 * Auxtrace support for s390 CPU-Measurement Sampling Facility
17 * see Documentation/perf.data-file-format.txt.
26 * Perf events are not necessarily in time stamp order, as they can be
28 * processed in time order they need to be sorted first.
31 * time stamp lower than this record are processed (and displayed) before
49 * entries, the queue number and a time stamp. However the stack is sorted by
50 * the time stamps. The highest time stamp is at the bottom the lowest
51 * (nearest) time stamp is at the top. That sort order is maintained at all
58 * Each record is handled by s390_cpumsf_process_event(). The time stamp of
[all …]
Dintel-pt.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2013-2015, Intel Corporation.
28 #include "thread-stack.h"
35 #include "intel-pt.h"
38 #include "util/synthetic-events.h"
39 #include "time-utils.h"
43 #include "intel-pt-decoder/intel-pt-log.h"
44 #include "intel-pt-decoder/intel-pt-decoder.h"
45 #include "intel-pt-decoder/intel-pt-insn-decoder.h"
46 #include "intel-pt-decoder/intel-pt-pkt-decoder.h"
[all …]
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
Dkvm-stat.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "../../../util/kvm-stat.h"
17 .name = "VM-EXIT"
27 * the time of MMIO write: kvm_mmio(KVM_TRACE_MMIO_WRITE...) -> kvm_entry
28 * the time of MMIO read: kvm_exit -> kvm_mmio(KVM_TRACE_MMIO_READ...).
30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() argument
33 key->key = evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key()
34 key->info = evsel__intval(evsel, sample, "type"); in mmio_event_get_key()
42 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() argument
50 evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_WRITE) { in mmio_event_begin()
[all …]
/kernel/linux/linux-5.10/samples/ftrace/
Dsample-trace-array.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * In this case, it would look for sample-trace.h
15 * This file is called sample-trace-array.h but we want the system
16 * to be called "sample-subsystem". Therefore we must define the name of this
19 * #define TRACE_INCLUDE_FILE sample-trace-array
27 #define TRACE_SYSTEM sample-subsystem
30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric
38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric
40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if
42 * only alpha-numeric and underscores.
[all …]
/kernel/linux/linux-6.6/samples/ftrace/
Dsample-trace-array.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * In this case, it would look for sample-trace.h
15 * This file is called sample-trace-array.h but we want the system
16 * to be called "sample-subsystem". Therefore we must define the name of this
19 * #define TRACE_INCLUDE_FILE sample-trace-array
27 #define TRACE_SYSTEM sample-subsystem
30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric
38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric
40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if
42 * only alpha-numeric and underscores.
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dperf-record.c1 // SPDX-License-Identifier: GPL-2.0
19 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu()
23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
29 return -1; in sched__get_first_possible_cpu()
34 if (cpu == -1) in sched__get_first_possible_cpu()
58 struct perf_sample sample; in test__PERF_RECORD() local
68 int err = -1, errs = 0, i, wakeups = 0; in test__PERF_RECORD()
83 * we start with all threads and cpus (-1, -1) but then in in test__PERF_RECORD()
96 * so that we have time to open the evlist (calling sys_perf_event_open in test__PERF_RECORD()
106 * Config the evsels, setting attr->comm on the first one, etc. in test__PERF_RECORD()
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/
Dperf-record.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "util/sample.h"
19 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu()
23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
29 return -1; in sched__get_first_possible_cpu()
34 if (cpu == -1) in sched__get_first_possible_cpu()
58 struct perf_sample sample; in test__PERF_RECORD() local
68 int err = -1, errs = 0, i, wakeups = 0; in test__PERF_RECORD()
83 * we start with all threads and cpus (-1, -1) but then in in test__PERF_RECORD()
96 * so that we have time to open the evlist (calling sys_perf_event_open in test__PERF_RECORD()
[all …]
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dkvm-stat.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "../../../util/kvm-stat.h"
17 .name = "VM-EXIT"
28 * the time of MMIO write: kvm_mmio(KVM_TRACE_MMIO_WRITE...) -> kvm_entry
29 * the time of MMIO read: kvm_exit -> kvm_mmio(KVM_TRACE_MMIO_READ...).
31 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() argument
34 key->key = evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key()
35 key->info = evsel__intval(evsel, sample, "type"); in mmio_event_get_key()
43 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() argument
50 if (!strcmp(evsel->name, "kvm:kvm_mmio") && in mmio_event_begin()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
Dfreq-step.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <time.h>
24 #define MAX_PRECISION 500e-9
25 #define MAX_FREQ_ERROR 0.02e-6
26 #define MAX_STDDEV 50e-9
32 struct sample { struct
34 double time; member
45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
48 static double get_sample(struct sample *sample) in get_sample() argument
59 ts1.tv_sec -= mono_raw_base; in get_sample()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dfreq-step.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <time.h>
24 #define MAX_PRECISION 500e-9
25 #define MAX_FREQ_ERROR 0.02e-6
26 #define MAX_STDDEV 50e-9
32 struct sample { struct
34 double time; member
45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
48 static double get_sample(struct sample *sample) in get_sample() argument
59 ts1.tv_sec -= mono_raw_base; in get_sample()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/
Datmel,sama5d2-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama5d2-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <eugen.hristev@microchip.com>
15 - atmel,sama5d2-adc
16 - microchip,sam9x60-adc
17 - microchip,sama7g5-adc
28 clock-names:
31 vref-supply: true
[all …]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
Darm-cs-trace-disasm.py1 # SPDX-License-Identifier: GPL-2.0
2 # arm-cs-trace-disasm.py: ARM CoreSight Trace Dump With Disassember
22 # perf script -s scripts/python/arm-cs-trace-disasm.py \
23 # -- -d objdump -k path/to/vmlinux
24 # Output disassembly with llvm-objdump:
25 # perf script -s scripts/python/arm-cs-trace-disasm.py \
26 # -- -d llvm-objdump-11 -k path/to/vmlinux
28 # perf script -s scripts/python/arm-cs-trace-disasm.py
33 make_option("-k", "--vmlinux", dest="vmlinux_name",
35 make_option("-d", "--objdump", dest="objdump_name",
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_hwlat.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_hwlat.c - A simple Hardware Latency detector.
20 * Although certain hardware-inducing latencies are necessary (for example,
22 * and remote management) they can wreak havoc upon any OS-level performance
23 * guarantees toward low-latency, especially when the OS is not even made
27 * sampling the built-in CPU timer, looking for discontiguous readings.
31 * environment requiring any kind of low-latency performance
34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com>
35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com>
60 static struct dentry *hwlat_sample_width; /* sample width us */
[all …]

12345678910>>...42