Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 87) sorted by relevance

1234

/tools/testing/selftests/kvm/include/
Dguest_modes.h9 bool enabled; member
14 #define guest_mode_append(mode, supported, enabled) ({ \ argument
15 guest_modes[mode] = (struct guest_mode){ supported, enabled }; \
/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c49 int enabled = 0; variable
134 val.counter = val.enabled = val.running = 0; in bperf_cgroup_count()
148 if (enabled) { in bperf_cgroup_count()
150 delta.enabled = val.enabled - prev_val->enabled; in bperf_cgroup_count()
164 cgrp_val->enabled += delta.enabled; in bperf_cgroup_count()
Dbpf_prog_profiler.bpf.c64 diff.enabled = after->enabled - before->enabled; in fexit_update_maps()
70 accum->enabled += diff.enabled; in fexit_update_maps()
Dbperf_follower.bpf.c30 int enabled = 0; variable
39 if (!enabled) in BPF_PROG()
73 accum_val->enabled += diff_val->enabled; in BPF_PROG()
Dbperf_leader.bpf.c50 diff_val->enabled = val.enabled - prev_val->enabled; in BPF_PROG()
/tools/perf/arch/x86/tests/
Drdpmc.c41 u64 count, cyc = 0, time_offset = 0, enabled, running, delta; in mmap_read_self() local
47 enabled = pc->time_enabled; in mmap_read_self()
50 if (enabled != running) { in mmap_read_self()
65 if (enabled != running) { in mmap_read_self()
73 enabled += delta; in mmap_read_self()
79 count = quot * enabled + (rem * enabled) / running; in mmap_read_self()
/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c9 __u64 enabled; member
87 diff.enabled = after->enabled - before->enabled; in fexit_update_maps()
93 accum->enabled += diff.enabled; in fexit_update_maps()
/tools/testing/selftests/kvm/lib/
Dguest_modes.c48 if (!guest_modes[i].enabled) in for_each_guest_mode()
79 guest_modes[i].enabled = false; in guest_modes_cmdline()
85 guest_modes[mode].enabled = true; in guest_modes_cmdline()
/tools/testing/selftests/net/
Drxtimestamp.c40 bool enabled; member
46 bool enabled; member
378 test_cases[t].enabled = true; in main()
385 socket_types[2].enabled = true; in main()
389 socket_types[1].enabled = true; in main()
393 socket_types[0].enabled = true; in main()
410 if (!all_protocols && !socket_types[s].enabled) in main()
415 if (!all_tests && !test_cases[t].enabled) in main()
Dtimestamping.c323 int enabled = 1; in main() local
444 &ip_multicast_loop, sizeof(enabled)) < 0) { in main()
451 &enabled, sizeof(enabled)) < 0) in main()
456 &enabled, sizeof(enabled)) < 0) in main()
466 &enabled, sizeof(enabled)) < 0) in main()
/tools/testing/selftests/powerpc/security/
Dspectre_v2.c43 FAIL_IF(events[0].result.running != events[0].result.enabled); in do_count_loop()
44 FAIL_IF(events[1].result.running != events[1].result.enabled); in do_count_loop()
52 FAIL_IF(events[2].result.running != events[2].result.enabled); in do_count_loop()
53 FAIL_IF(events[3].result.running != events[3].result.enabled); in do_count_loop()
/tools/testing/selftests/powerpc/pmu/
Dl3_bank_test.c40 FAIL_IF(event.result.enabled == 0); in l3_bank_test()
Devent.c121 if (e->result.running == e->result.enabled) in event_report_justified()
125 e->result.enabled); in event_report_justified()
Devent.h23 u64 enabled; member
/tools/testing/kunit/test_data/
Dtest_is_test_passed-crash.log1 printk: console [tty0] enabled
2 printk: console [mc-1] enabled
Dtest_kernel_panic_interrupt.log1 [ 0.060000] printk: console [mc-1] enabled
Dtest_config_printk_time.log1 [ 0.060000] printk: console [mc-1] enabled
/tools/cgroup/
Diocost_monitor.py97 self.enabled = ioc.enabled.value_()
116 'enabled' : self.enabled,
125 state = ('RUN' if self.running else 'IDLE') if self.enabled else 'OFF'
/tools/perf/tests/attr/
Dsystem-wide-dummy15 # Event will be enabled right away.
/tools/perf/util/
Dbpf_counter_cgroup.c229 skel->bss->enabled = 1; in bperf_cgrp__enable()
240 skel->bss->enabled = 0; in bperf_cgrp__disable()
279 counts->ena = values[cpu].enabled; in bperf_cgrp__read()
Dbpf_counter.c261 perf_counts(evsel->counts, cpu, 0)->ena += values[cpu].enabled; in bpf_program_profiler__read()
595 evsel->follower_skel->bss->enabled = 1; in bperf__enable()
601 evsel->follower_skel->bss->enabled = 0; in bperf__disable()
630 perf_counts(evsel->counts, cpu, 0)->ena = values[cpu].enabled; in bperf__read()
637 perf_counts(evsel->counts, i, 0)->ena = values[cpu].enabled; in bperf__read()
648 perf_counts(evsel->counts, 0, i)->ena += values[cpu].enabled; in bperf__read()
/tools/testing/selftests/powerpc/pmu/ebb/
Debb_vs_cpu_event_test.c80 FAIL_IF(event.result.enabled >= event.result.running); in ebb_vs_cpu_event()
Dtask_event_pinned_vs_ebb_test.c84 FAIL_IF(event.result.enabled == 0); in task_event_pinned_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c87 FAIL_IF(event.result.enabled != event.result.running); in cpu_event_pinned_vs_ebb()
/tools/lib/perf/Documentation/
Dlibperf-counting.txt22 count 176792, enabled 176944, run 176944
23 count 176242, enabled 176242, run 176242
178 83 fprintf(stdout, "count %llu, enabled %llu, run %llu\n",

1234