Home
last modified time | relevance | path

Searched +full:event +full:- +full:name (Results 1 – 25 of 1169) sorted by relevance

12345678910>>...47

/linux/include/rv/
H A Dda_monitor.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org>
21 #define DECLARE_RV_REACTING_HELPERS(name, type) \ argument
22 static char REACT_MSG_##name[1024]; \
24 static inline char *format_react_msg_##name(type curr_state, type event) \
26 snprintf(REACT_MSG_##name, 1024, \
27 "rv: monitor %s does not allow event %s on state %s\n", \
28 #name, \
29 model_get_event_name_##name(event), \
30 model_get_state_name_##name(curr_state)); \
[all …]
H A Dautomata.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2019-2022 Red Hat, Inc. Daniel Bristot de Oliveira <bristot@kernel.org>
10 * DECLARE_AUTOMATA_HELPERS - define a set of helper functions for automata
12 * Define a set of helper functions for automata. The 'name' argument is used
16 #define DECLARE_AUTOMATA_HELPERS(name, type) \ argument
19 * model_get_state_name_##name - return the (string) name of the given state \
21 static char *model_get_state_name_##name(enum states_##name state) \
23 if ((state < 0) || (state >= state_max_##name)) \
26 return automaton_##name.state_names[state]; \
30 * model_get_event_name_##name - return the (string) name of the given event \
[all …]
/linux/tools/perf/tests/
H A Dpmu-events.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "parse-events.h"
12 #include "../pmu-events/pmu-events.h"
17 #include "util/parse-events.h"
22 /* used for matching against events from generated pmu-events.c */
23 struct pmu_event event; member
25 /* used for matching against event aliases */
46 .event = {
48 .name = "bp_l1_btb_correct",
49 .event = "event=0x8a",
[all …]
H A Dparse-metric.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "pmu-events/pmu-events.h"
17 const char *event; member
21 static u64 find_value(const char *name, struct value *values) in find_value() argument
25 while (v->event) { in find_value()
26 if (!strcmp(name, v->event)) in find_value()
27 return v->val; in find_value()
40 count = find_value(evsel->name, vals); in load_runtime_stat()
41 evsel->supported = true; in load_runtime_stat()
42 evsel->stats->aggr->counts.val = count; in load_runtime_stat()
[all …]
/linux/kernel/trace/
H A Dtrace_events_synth.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_events_synth - synthetic trace events
27 C(BAD_NAME, "Illegal name"), \
28 C(INVALID_CMD, "Command must be of the form: <name> field[;field] ..."),\
29 C(INVALID_DYN_CMD, "Command must be of the form: s or -:[synthetic/]<name> field[;field] ..."),\
30 C(EVENT_EXISTS, "Event already exists"), \
84 static bool synth_event_match(const char *system, const char *event,
97 return ev->ops == &synth_event_ops; in is_synth_event()
107 struct synth_event *event = to_synth_event(ev); in synth_event_is_busy() local
109 return event->ref != 0; in synth_event_is_busy()
[all …]
/linux/Documentation/trace/
H A Duser_events.rst2 user_events: User-based Event Tracing
8 --------
20 requires CAP_PERFMON due to the event persisting, otherwise -EPERM is returned.
25 enabled the event and data should be written. The registration will give back
36 -----------
59 /* Input: Pointer to string with event name, description and flags */
62 /* Output: Index of the event to use when writing data */
70 + enable_bit: The bit to reflect the event status at the address specified by
74 This must be 4 (32-bit) or 8 (64-bit). 64-bit values are only allowed to be
75 used on 64-bit kernels, however, 32-bit can be used on all kernels.
[all …]
H A Devents.rst2 Event Tracing
13 using the event tracing infrastructure.
15 Not all tracepoints can be traced using the event tracing system;
20 2. Using Event Tracing
24 ---------------------------------
29 To enable a particular event, such as 'sched_wakeup', simply echo it
36 To disable an event, echo the event name to the set_event file prefixed
50 etc., and a full event name looks like this: <subsystem>:<event>. The
51 subsystem name is optional, but it is displayed in the available_events
72 The above will enable any system or event that ``<match>`` matches. If
[all …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py2 # SPDX-License-Identifier: GPL-2.0
8 # PerfEvent is the base class for all perf event sample, PebsEvent
9 # is a HW base Intel x86 PEBS event, and user could add more SW/HW
10 # event classes based on requirements.
15 # Event types, user could add more here
17 EVTYPE_PEBS = 1 # Basic PEBS event
18 EVTYPE_PEBS_LL = 2 # PEBS event with load latency info
22 # Currently we don't have good way to tell the event type, but by
23 # the size of raw buffer, raw PEBS event with load latency data's
24 # size is 176 bytes, while the pure PEBS event's size is 144 bytes.
[all …]
/linux/include/linux/
H A Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 /* Used for event string fields when they are NULL */
61 struct trace_event *event);
77 * The trace entry - the most basic unit of tracing. This is what
80 * bash-15816 [01] 235.197585: idle_cpu <- irq_enter
90 ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1)
93 * Trace iterator - used by printout routines who present trace
145 int flags, struct trace_event *event);
160 extern int register_trace_event(struct trace_event *event);
161 extern int unregister_trace_event(struct trace_event *event);
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
68 if (!amdgpu_pmu_attr->type) in amdgpu_pmu_event_show()
69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show()
72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show()
79 const char *name; member
99 * - PMU typed
105 * - Event config typed
115 { .name = "event", .config = "config:0-7" },
116 { .name = "instance", .config = "config:8-15" },
117 { .name = "umask", .config = "config:16-23"},
[all …]
/linux/fs/notify/fanotify/
H A Dfanotify.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 /* Possible states of the permission event */
39 /* Variable size struct for dir file handle + child file handle + name */
53 * name starts at buf[dir_fh_totlen + dir2_fh_totlen + file_fh_totlen]
56 #define FANOTIFY_DIR_FH_SIZE(info) ((info)->dir_fh_totlen)
57 #define FANOTIFY_DIR2_FH_SIZE(info) ((info)->dir2_fh_totlen)
58 #define FANOTIFY_FILE_FH_SIZE(info) ((info)->file_fh_totlen)
59 #define FANOTIFY_NAME_SIZE(info) ((info)->name_len + 1)
60 #define FANOTIFY_NAME2_SIZE(info) ((info)->name2_len + 1)
73 ((info)->buf + FANOTIFY_DIR_FH_OFFSET(info))
[all …]
/linux/tools/testing/selftests/powerpc/pmu/
H A Devent.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include "event.h"
24 static void __event_init_opts(struct event *e, u64 config, in __event_init_opts()
25 int type, char *name, bool sampling) in __event_init_opts() argument
29 e->name = name; in __event_init_opts()
31 e->attr.type = type; in __event_init_opts()
32 e->attr.config = config; in __event_init_opts()
33 e->attr.size = sizeof(e->attr); in __event_init_opts()
35 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in __event_init_opts()
38 e->attr.sample_period = 1000; in __event_init_opts()
[all …]
/linux/tools/perf/util/
H A Dbpf-event.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "bpf-event.h"
13 #include "bpf-utils.h"
23 #include "util/synthetic-events.h"
31 ret += snprintf(buf + ret, size - ret, "%02x", data[i]); in snprintf_hex()
36 union perf_event *event, in machine__process_bpf_event_load() argument
40 struct perf_env *env = machine->en in machine__process_bpf_event_load()
72 machine__process_bpf(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_bpf() argument
168 perf_event__synthesize_one_bpf_prog(struct perf_session * session,perf_event__handler_t process,struct machine * machine,int fd,union perf_event * event,struct record_opts * opts) perf_event__synthesize_one_bpf_prog() argument
310 union perf_event *event; global() member
317 process_bpf_image(char * name,u64 addr,struct kallsyms_parse * data) process_bpf_image() argument
320 union perf_event *event = data->event; process_bpf_image() local
351 char *module, *name; kallsyms_process_symbol() local
385 union perf_event *event; perf_event__synthesize_bpf_events() local
503 bpf_event__sb_cb(union perf_event * event,void * data) bpf_event__sb_cb() argument
555 char name[KSYM_NAME_LEN]; __bpf_event__print_bpf_prog_info() local
[all...]
/linux/Documentation/devicetree/bindings/devfreq/event/
H A Dsamsung,exynos-ppmu.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/devfreq/event/samsung,exynos-ppmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
19 Exynos PPMU driver uses the devfreq-event class to provide event data to
20 various devfreq devices. The devfreq devices would use the event data when
26 - samsung,exynos-ppmu
27 - samsung,exynos-ppmu-v2
[all …]
/linux/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dadd_remove_eprobe.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: Generic dynamic event - add/remove eprobe events
4 # requires: dynamic_events events/syscalls/sys_enter_openat "<attached-group>.<attached-event> [<ar…
11 EVENT="sys_enter_openat"
15 echo "e:$EPROBE $SYSTEM/$EVENT $OPTIONS" >> dynamic_events
17 grep -q "$EPROBE" dynamic_events
18 test -d events/eprobes/$EPROBE
24 content=`grep '^ *ls-' trace | grep 'file='`
25 nocontent=`grep '^ *ls-' trace | grep 'file=' | grep -v -e '"/' -e '"."' -e '(fault)' ` || true
27 if [ -z "$content" ]; then
[all …]
/linux/Documentation/input/
H A Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
15 the same moment in time. In the following, the term "event" refers to a single
16 input event encompassing a type, code, and value.
19 of event codes have changed. However, the state is maintained within the Linux
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
24 class/input/event*/device/capabilities/, and the properties of a device are
25 provided in class/input/event*/device/properties.
[all …]
/linux/drivers/char/tpm/eventlog/
H A Dtpm1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
15 * Access to the event log created by a system's firmware / BIOS
37 "EVENT TAG",
38 "S-CRTM Contents",
39 "S-CRTM Version",
46 "Non-Host Code",
47 "Non-Host Config",
48 "Non-Host Info"
63 "S-CRTM Version",
[all …]
/linux/tools/perf/scripts/python/
H A Dnetdev-times.py2 # SPDX-License-Identifier: GPL-2.0
17 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
24 all_event_list = []; # insert all tracepoint event related with this script
27 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry
48 dev = 0; # store a name of device specified by option "dev="
61 return (dst - src) / 1000000.0
80 PF_NET_RECV= " |---netif_receive_skb(+%.3fmsec skb=%x len=%d)"
81 PF_NET_RX= " |---netif_rx(+%.3fmsec skb=%x)"
96 if irq_list[i]['name'].find(dev) >= 0:
109 irq_list[i]['irq'], irq_list[i]['name']))
[all …]
/linux/include/trace/events/
H A Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #define DAPM_ARROW(dir) (((dir) == SND_SOC_DAPM_DIR_OUT) ? "->" : "<-")
30 __string( card_name, dapm->card->name)
31 __string( comp_name, dapm->component ? dapm->component->name : "(none)")
38 __entry->val = val;
42 __get_str(card_name), __get_str(comp_name), (int)__entry->val)
63 TP_PROTO(struct snd_soc_card *card, int event),
65 TP_ARGS(card, event),
68 __string( name, card->name )
69 __field( int, event )
[all …]
/linux/samples/cgroup/
H A Dmemcg_event_listener.c1 // SPDX-License-Identifier: GPL-2.0
3 * memcg_event_listener.c - Simple listener of memcg memory.events
26 #define INOTIFY_EVENT_NEXT(event, length) ({ \ argument
27 (length) -= sizeof(*(event)) + (event)->len; \
28 (event)++; \
31 #define INOTIFY_EVENT_OK(event, length) ((length) >= (ssize_t)sizeof(*(event))) argument
54 printf("\tlow: %ld\n", counters->low); in print_memcg_counters()
55 printf("\thigh: %ld\n", counters->high); in print_memcg_counters()
56 printf("\tmax: %ld\n", counters->max); in print_memcg_counters()
57 printf("\toom: %ld\n", counters->oom); in print_memcg_counters()
[all …]
/linux/drivers/s390/net/
H A Dfsm.h1 /* SPDX-License-Identifier: GPL-2.0 */
53 * Element of State/Event history used for debugging.
57 int event; member
67 char name[16]; member
79 * Description of a state-event combination
100 * @param name Name of this instance for logging purposes.
110 init_fsm(char *name, const char **state_names,
127 fsm_record_history(fsm_instance *fi, int state, int event);
131 * Emits an event to a FSM.
132 * If an action function is defined for the current state/event combination,
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c2 * SPDX-License-Identifier: MIT
4 * Copyright © 2017-2018 Intel Corporation
32 static unsigned int i915_pmu_target_cpu = -1;
34 static struct i915_pmu *event_to_pmu(struct perf_event *event) in event_to_pmu() argument
36 return container_of(event->pmu, struct i915_pmu, base); in event_to_pmu()
49 static u8 engine_event_sample(struct perf_event *event) in engine_event_sample() argument
51 return engine_config_sample(event->attr.config); in engine_event_sample()
54 static u8 engine_event_class(struct perf_event *event) in engine_event_class() argument
56 return (event->attr.config >> I915_PMU_CLASS_SHIFT) & 0xff; in engine_event_class()
59 static u8 engine_event_instance(struct perf_event *event) in engine_event_instance() argument
[all …]
/linux/tools/perf/pmu-events/
H A Dmetric.py1 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
13 def ToPerfJson(self) -> str:
17 def ToPython(self) -> str:
25 def Equals(self, other) -> bool:
29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
32 def __str__(self) -> str:
35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator':
38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator':
41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator':
44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator':
[all …]
/linux/drivers/md/
H A Ddm-uevent.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Mapper Uevent Support (dm-uevent)
11 #include <linux/dm-ioctl.h>
15 #include "dm-uevent.h"
22 char *name; member
35 char name[DM_NAME_LEN]; member
39 static void dm_uevent_free(struct dm_uevent *event) in dm_uevent_free() argument
41 kmem_cache_free(_dm_event_cache, event); in dm_uevent_free()
46 struct dm_uevent *event; in dm_uevent_alloc() local
48 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc()
[all …]
/linux/include/trace/
H A Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Override the macros in the event tracepoint header <trace/events/XXX.h>
39 #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ argument
40 DECLARE_EVENT_CLASS(name, \
46 DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
49 #define TRACE_EVENT_SYSCALL(name, proto, args, tstruct, assign, print, reg, unreg) \ argument
50 DECLARE_EVENT_SYSCALL_CLASS(name, \
56 DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
61 #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ argument
62 struct trace_event_raw_##name { \
[all …]

12345678910>>...47