Home
last modified time | relevance | path

Searched full:events (Results 1 – 25 of 6856) sorted by relevance

12345678910>>...275

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c8 #include "lib/events.h"
15 /* General events handlers for the low level mlx5_core driver
17 * Other Major feature specific events such as
26 /* handler which forwards the event to events->fw_nh, driver notifiers */
30 /* Events to be processed by mlx5_core */
36 /* Events to be forwarded (as is) to mlx5 core interfaces (mlx5e/mlx5_ib) */
40 /* QP/WQ resource events to forward */
50 /* SRQ events */
59 /* driver notifier chain for fw events */
61 /* port module events stats */
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/
Dcount_stcx_fail.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
43 event_read(&events[0]); in do_count_loop()
44 event_read(&events[1]); in do_count_loop()
45 event_read(&events[2]); in do_count_loop()
47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop()
48 difference = events[0].result.value - expected; in do_count_loop()
49 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
53 event_report(&events[0]); in do_count_loop()
54 event_report(&events[1]); in do_count_loop()
55 event_report(&events[2]); in do_count_loop()
[all …]
Dcount_instructions.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
42 event_read(&events[0]); in do_count_loop()
43 event_read(&events[1]); in do_count_loop()
46 difference = events[0].result.value - expected; in do_count_loop()
47 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
50 event_report(&events[0]); in do_count_loop()
51 event_report(&events[1]); in do_count_loop()
55 printf("Actual %llu\n", events[0].result.value); in do_count_loop()
59 event_reset(&events[0]); in do_count_loop()
60 event_reset(&events[1]); in do_count_loop()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/
Dcount_stcx_fail.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
43 event_read(&events[0]); in do_count_loop()
44 event_read(&events[1]); in do_count_loop()
45 event_read(&events[2]); in do_count_loop()
47 expected = instructions + overhead + (events[2].result.value * 10); in do_count_loop()
48 difference = events[0].result.value - expected; in do_count_loop()
49 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
53 event_report(&events[0]); in do_count_loop()
54 event_report(&events[1]); in do_count_loop()
55 event_report(&events[2]); in do_count_loop()
[all …]
Dcount_instructions.c29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument
42 event_read(&events[0]); in do_count_loop()
43 event_read(&events[1]); in do_count_loop()
46 difference = events[0].result.value - expected; in do_count_loop()
47 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()
50 event_report(&events[0]); in do_count_loop()
51 event_report(&events[1]); in do_count_loop()
55 printf("Actual %llu\n", events[0].result.value); in do_count_loop()
59 event_reset(&events[0]); in do_count_loop()
60 event_reset(&events[1]); in do_count_loop()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c15 /* General events handlers for the low level mlx5_core driver
17 * Other Major feature specific events such as
26 /* handler which forwards the event to events->nh, driver notifiers */
30 /* Events to be proccessed by mlx5_core */
36 /* Events to be forwarded (as is) to mlx5 core interfaces (mlx5e/mlx5_ib) */
39 /* QP/WQ resource events to forward */
49 /* SRQ events */
60 /* port module events stats */
136 /* handles all FW events, type == eqe->type */
141 struct mlx5_events *events = event_nb->ctx; in any_notifier() local
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio15 based on hardware generated events (e.g. data ready) or
41 buffered samples and events for device X.
618 What: /sys/bus/iio/devices/iio:deviceX/events
622 Configuration of which hardware generated events are passed up
625 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
626 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
627 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
628 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
629 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
630 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/security/
Dspectre_v2.c25 static int do_count_loop(struct event *events, bool is_p9, s64 *miss_percent) in do_count_loop() argument
38 event_read(&events[0]); in do_count_loop()
39 event_read(&events[1]); in do_count_loop()
41 // We could scale all the events by running/enabled but we're lazy in do_count_loop()
43 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()
46 pred = events[0].result.value; in do_count_loop()
47 mpred = events[1].result.value; in do_count_loop()
50 event_read(&events[2]); in do_count_loop()
51 event_read(&events[3]); in do_count_loop()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/
Dspectre_v2.c25 static int do_count_loop(struct event *events, bool is_p9, s64 *miss_percent) in do_count_loop() argument
38 event_read(&events[0]); in do_count_loop()
39 event_read(&events[1]); in do_count_loop()
41 // We could scale all the events by running/enabled but we're lazy in do_count_loop()
43 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()
46 pred = events[0].result.value; in do_count_loop()
47 mpred = events[1].result.value; in do_count_loop()
50 event_read(&events[2]); in do_count_loop()
51 event_read(&events[3]); in do_count_loop()
[all …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Ditrace.txt1 i synthesize instructions events
2 y synthesize cycles events
3 b synthesize branches events (branch misses for Arm SPE)
4 c synthesize branches events (calls only)
5 r synthesize branches events (returns only)
6 x synthesize transactions events
7 w synthesize ptwrite events
8 p synthesize power events (incl. PSB events for Intel PT)
9 o synthesize other events recorded due to the use
11 I synthesize interrupt or similar (asynchronous) events
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-iio15 based on hardware generated events (e.g. data ready) or
92 buffered samples and events for device X.
747 What: /sys/bus/iio/devices/iio:deviceX/events
751 Configuration of which hardware generated events are passed up
754 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_rising_en
755 What: /sys/.../iio:deviceX/events/in_accel_x_thresh_falling_en
756 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_rising_en
757 What: /sys/.../iio:deviceX/events/in_accel_y_thresh_falling_en
758 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_rising_en
759 What: /sys/.../iio:deviceX/events/in_accel_z_thresh_falling_en
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_event.c54 static void evt_str(struct komeda_str *str, u64 events) in evt_str() argument
56 if (events == 0ULL) { in evt_str()
61 evt_sprintf(str, events & KOMEDA_EVENT_VSYNC, "VSYNC|"); in evt_str()
62 evt_sprintf(str, events & KOMEDA_EVENT_FLIP, "FLIP|"); in evt_str()
63 evt_sprintf(str, events & KOMEDA_EVENT_EOW, "EOW|"); in evt_str()
64 evt_sprintf(str, events & KOMEDA_EVENT_MODE, "OP-MODE|"); in evt_str()
66 evt_sprintf(str, events & KOMEDA_EVENT_URUN, "UNDERRUN|"); in evt_str()
67 evt_sprintf(str, events & KOMEDA_EVENT_OVR, "OVERRUN|"); in evt_str()
70 evt_sprintf(str, events & KOMEDA_ERR_MERR, "MERR|"); in evt_str()
71 evt_sprintf(str, events & KOMEDA_ERR_FRAMETO, "FRAMETO|"); in evt_str()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_event.c54 static void evt_str(struct komeda_str *str, u64 events) in evt_str() argument
56 if (events == 0ULL) { in evt_str()
61 evt_sprintf(str, events & KOMEDA_EVENT_VSYNC, "VSYNC|"); in evt_str()
62 evt_sprintf(str, events & KOMEDA_EVENT_FLIP, "FLIP|"); in evt_str()
63 evt_sprintf(str, events & KOMEDA_EVENT_EOW, "EOW|"); in evt_str()
64 evt_sprintf(str, events & KOMEDA_EVENT_MODE, "OP-MODE|"); in evt_str()
66 evt_sprintf(str, events & KOMEDA_EVENT_URUN, "UNDERRUN|"); in evt_str()
67 evt_sprintf(str, events & KOMEDA_EVENT_OVR, "OVERRUN|"); in evt_str()
70 evt_sprintf(str, events & KOMEDA_ERR_MERR, "MERR|"); in evt_str()
71 evt_sprintf(str, events & KOMEDA_ERR_FRAMETO, "FRAMETO|"); in evt_str()
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/
Dpfm.c33 const char *events; in test__pfm_events() member
37 .events = "", in test__pfm_events()
41 .events = "instructions", in test__pfm_events()
45 .events = "instructions,cycles", in test__pfm_events()
49 .events = "stereolab", in test__pfm_events()
53 .events = "instructions,instructions", in test__pfm_events()
57 .events = "stereolab,instructions", in test__pfm_events()
61 .events = "instructions,stereolab", in test__pfm_events()
73 table[i].events, in test__pfm_events()
75 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/event_code_tests/
Devent_alternatives_tests_p10.c27 struct event *e, events[5]; in event_alternatives_tests_p10() local
35 * alternative events is handled by respective PMU driver in event_alternatives_tests_p10()
47 e = &events[0]; in event_alternatives_tests_p10()
50 e = &events[1]; in event_alternatives_tests_p10()
53 e = &events[2]; in event_alternatives_tests_p10()
56 e = &events[3]; in event_alternatives_tests_p10()
59 e = &events[4]; in event_alternatives_tests_p10()
62 FAIL_IF(event_open(&events[0])); in event_alternatives_tests_p10()
66 * 0x600f4 in PMC6. So it can go in with other events in event_alternatives_tests_p10()
70 FAIL_IF(event_open_with_group(&events[i], events[0].fd)); in event_alternatives_tests_p10()
[all …]
/kernel/linux/linux-5.10/tools/perf/Documentation/
Ditrace.txt1 i synthesize instructions events
2 b synthesize branches events (branch misses for Arm SPE)
3 c synthesize branches events (calls only)
4 r synthesize branches events (returns only)
5 x synthesize transactions events
6 w synthesize ptwrite events
7 p synthesize power events
8 o synthesize other events recorded due to the use
10 e synthesize error events
12 f synthesize first level cache events
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/
DREADME2 The contents of this directory allow users to specify PMU events in their
9 tree tools/perf/pmu-events/arch/foo.
12 JSON files, each of which describes a set of PMU events.
14 - The CSV file that maps a specific CPU to its set of PMU events is to
21 events", defined in architecture standard JSONs.
25 The PMU events supported by a CPU model are expected to grouped into topics
26 such as Pipelining, Cache, Memory, Floating-point etc. All events for a topic
33 $ ls tools/perf/pmu-events/arch/x86/silvermont
42 'pmu-events.c', which encodes the two sets of tables:
44 - Set of 'PMU events tables' for all known CPUs in the architecture,
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/
DREADME2 The contents of this directory allow users to specify PMU events in their
9 tree tools/perf/pmu-events/arch/foo.
12 JSON files, each of which describes a set of PMU events.
14 - The CSV file that maps a specific CPU to its set of PMU events is to
21 events", defined in architecture standard JSONs.
25 The PMU events supported by a CPU model are expected to grouped into topics
26 such as Pipelining, Cache, Memory, Floating-point etc. All events for a topic
33 $ ls tools/perf/pmu-events/arch/x86/silvermont
42 'pmu-events.c', which encodes the two sets of tables:
44 - Set of 'PMU events tables' for all known CPUs in the architecture,
[all …]
DBuild1 pmu-events-y += pmu-events.o
2 JDIR = pmu-events/arch/$(SRCARCH)
5 JDIR_TEST = pmu-events/arch/test
8 JEVENTS_PY = pmu-events/jevents.py
9 METRIC_PY = pmu-events/metric.py
10 METRIC_TEST_PY = pmu-events/metric_test.py
11 EMPTY_PMU_EVENTS_C = pmu-events/empty-pmu-events.c
12 PMU_EVENTS_C = $(OUTPUT)pmu-events/pmu-events.c
13 METRIC_TEST_LOG = $(OUTPUT)pmu-events/metric_test.log
21 # Locate/process JSON files in pmu-events/arch/
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dpfm.c26 .desc = "test of individual --pfm-events",
30 .desc = "test groups of --pfm-events",
53 const char *events; in test__pfm_events() member
57 .events = "", in test__pfm_events()
61 .events = "instructions", in test__pfm_events()
65 .events = "instructions,cycles", in test__pfm_events()
69 .events = "stereolab", in test__pfm_events()
73 .events = "instructions,instructions", in test__pfm_events()
77 .events = "stereolab,instructions", in test__pfm_events()
81 .events = "instructions,stereolab", in test__pfm_events()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-filter.tc4 # requires: set_event events/sched/sched_process_fork/trigger
14 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger
23 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger
24 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger
25 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger
26 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger
27 echo '!traceoff' > events/sched/sched_process_fork/trigger
28 ! echo 'traceoff if common_pid == child_pid' > events/sched/sched_process_fork/trigger
29 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger
30 echo '!traceoff' > events/sched/sched_process_fork/trigger
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-filter.tc4 # requires: set_event events/sched/sched_process_fork/trigger
14 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger
23 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger
24 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger
25 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger
26 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger
27 echo '!traceoff' > events/sched/sched_process_fork/trigger
28 ! echo 'traceoff if common_pid == child_pid' > events/sched/sched_process_fork/trigger
29 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger
30 echo '!traceoff' > events/sched/sched_process_fork/trigger
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
Dtest_apple_keyboard.py173 events = uhdev.next_sync_events()
174 self.debug_reports(r, uhdev, events)
175 self.assertInputEventsIn(expected, events)
182 events = uhdev.next_sync_events()
183 self.debug_reports(r, uhdev, events)
184 self.assertInputEventsIn(expected, events)
198 events = uhdev.next_sync_events()
199 self.debug_reports(r, uhdev, events)
200 self.assertInputEventsIn(expected, events)
206 events = uhdev.next_sync_events()
[all …]
/kernel/linux/linux-5.10/lib/
Dflex_proportions.c14 * Where x_{i,j} is j's number of events in i-th last time period and x_i is
15 * total number of events in i-th last time period.
43 /* Use 1 to avoid dealing with periods with 0 events... */ in fprop_global_init()
44 err = percpu_counter_init(&p->events, 1, gfp); in fprop_global_init()
53 percpu_counter_destroy(&p->events); in fprop_global_destroy()
61 * if aging zeroed out all events. This can be used to detect whether declaring
66 s64 events; in fprop_new_period() local
70 events = percpu_counter_sum(&p->events); in fprop_new_period()
72 * Don't do anything if there are no events. in fprop_new_period()
74 if (events <= 1) { in fprop_new_period()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/dynevent/
Dadd_remove_eprobe.tc3 # description: Generic dynamic event - add/remove eprobe events
4 # requires: dynamic_events events/syscalls/sys_enter_openat "<attached-group>.<attached-event> [<ar…
6 echo 0 > events/enable
18 test -d events/eprobes/$EPROBE
20 echo 1 > events/eprobes/$EPROBE/enable
22 echo 0 > events/eprobes/$EPROBE/enable
38 ! test -d events/eprobes/$EPROBE
45 test -d events/eprobes/$EPROBE
48 ! test -d events/eprobes/$EPROBE
53 test -d events/eprobes/$EPROBE
[all …]

12345678910>>...275