Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 92) sorted by relevance

1234

/tools/perf/scripts/perl/Perf-Trace-Util/
DContext.xs32 common_pc(context)
33 struct scripting_context * context
36 common_flags(context)
37 struct scripting_context * context
40 common_lock_depth(context)
41 struct scripting_context * context
DContext.c42 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS() local
46 RETVAL = common_pc(context); in XS()
65 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS() local
69 RETVAL = common_flags(context); in XS()
88 struct scripting_context * context = INT2PTR(struct scripting_context *,SvIV(ST(0))); in XS() local
92 RETVAL = common_lock_depth(context); in XS()
/tools/perf/scripts/python/
Dcheck-perf-trace.py30 def irq__softirq_entry(event_name, context, common_cpu, argument
36 print_uncommon(context)
40 def kmem__kmalloc(event_name, context, common_cpu, argument
47 print_uncommon(context)
54 def trace_unhandled(event_name, context, event_fields_dict): argument
66 def print_uncommon(context): argument
69 (common_pc(context), trace_flag_str(common_flags(context)),
70 common_lock_depth(context)))
Dnetdev-times.py232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
235 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
241 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
247 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument
252 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm,
256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument
257 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, irq, ret)
[all …]
Dsched-migration.py372 def sched__sched_stat_runtime(event_name, context, common_cpu, argument
377 def sched__sched_stat_iowait(event_name, context, common_cpu, argument
382 def sched__sched_stat_sleep(event_name, context, common_cpu, argument
387 def sched__sched_stat_wait(event_name, context, common_cpu, argument
392 def sched__sched_process_fork(event_name, context, common_cpu, argument
397 def sched__sched_process_wait(event_name, context, common_cpu, argument
402 def sched__sched_process_exit(event_name, context, common_cpu, argument
407 def sched__sched_process_free(event_name, context, common_cpu, argument
412 def sched__sched_migrate_task(event_name, context, common_cpu, argument
420 def sched__sched_switch(event_name, context, common_cpu, argument
[all …]
Dsyscall-counts.py38 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
49 def syscalls__sys_enter(event_name, context, common_cpu, argument
Dsctop.py52 def raw_syscalls__sys_enter(event_name, context, common_cpu, argument
63 def syscalls__sys_enter(event_name, context, common_cpu, argument
/tools/perf/scripts/perl/
Dcheck-perf-trace.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
37 print_uncommon($context);
45 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
53 print_uncommon($context);
65 my ($context) = @_;
68 common_pc($context), trace_flag_str(common_flags($context)),
69 common_lock_depth($context));
94 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
Drwtop.pl37 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
55 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
68 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
81 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
199 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
Drw-by-pid.pl26 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
42 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
53 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
64 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
180 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
Dwakeup-latency.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
53 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
103 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
Drw-by-file.pl30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
41 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
100 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs,
/tools/perf/scripts/python/Perf-Trace-Util/
DContext.c26 PyObject *context; in perf_trace_context_common_pc() local
29 if (!PyArg_ParseTuple(args, "O", &context)) in perf_trace_context_common_pc()
32 scripting_context = _PyCapsule_GetPointer(context, NULL); in perf_trace_context_common_pc()
42 PyObject *context; in perf_trace_context_common_flags() local
45 if (!PyArg_ParseTuple(args, "O", &context)) in perf_trace_context_common_flags()
48 scripting_context = _PyCapsule_GetPointer(context, NULL); in perf_trace_context_common_flags()
58 PyObject *context; in perf_trace_context_common_lock_depth() local
61 if (!PyArg_ParseTuple(args, "O", &context)) in perf_trace_context_common_lock_depth()
64 scripting_context = _PyCapsule_GetPointer(context, NULL); in perf_trace_context_common_lock_depth()
/tools/testing/selftests/powerpc/tm/
D.gitignore10 tm-signal-context-chk-fpu
11 tm-signal-context-chk-gpr
12 tm-signal-context-chk-vmx
13 tm-signal-context-chk-vsx
14 tm-signal-context-force-tm
DMakefile2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx
8 tm-signal-context-force-tm tm-poison
24 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64
/tools/perf/util/
Dtrace-event-parse.c15 static int get_common_field(struct scripting_context *context, in get_common_field() argument
18 struct tep_handle *pevent = context->pevent; in get_common_field()
35 return tep_read_number(pevent, context->event_data + *offset, *size); in get_common_field()
38 int common_lock_depth(struct scripting_context *context) in common_lock_depth() argument
44 ret = get_common_field(context, &size, &offset, in common_lock_depth()
52 int common_flags(struct scripting_context *context) in common_flags() argument
58 ret = get_common_field(context, &size, &offset, in common_flags()
66 int common_pc(struct scripting_context *context) in common_pc() argument
72 ret = get_common_field(context, &size, &offset, in common_pc()
Dtrace-event.h102 int common_pc(struct scripting_context *context);
103 int common_flags(struct scripting_context *context);
104 int common_lock_depth(struct scripting_context *context);
/tools/lib/traceevent/Documentation/
Dlibtraceevent-event_print.txt33 current context, and preemption count.
44 Field 3 is the context state.
45 . : Normal context
46 s : Soft interrupt context
47 h : Hard interrupt context
48 H : Hard interrupt context which triggered
49 during soft interrupt context.
50 z : NMI context
51 Z : NMI context which triggered during hard
52 interrupt context
[all …]
Dlibtraceevent-header_page.txt7 Get the data stored in the header page, in kernel context.
21 These functions retrieve information from kernel context, stored in tracefs
23 from user space context are used.
26 in kernel context. The _tep_ argument is trace event parser context.
30 in kernel context. The _tep_ argument is trace event parser context. This
Dlibtraceevent-set_flag.txt7 Manage flags of trace event parser context.
27 Trace event parser context flags are defined in *enum tep_flag*:
42 The _tep_set_flag()_ function sets _flag_ to _tep_ context.
44 The _tep_clear_flag()_ function clears _flag_ from _tep_ context.
46 The _tep_test_flag()_ function tests if _flag_ is set to _tep_ context.
Dlibtraceevent-handle.txt7 references of trace event parser context.
25 structure, representing the trace event parser context. This context is used as
28 The _tep_alloc()_ function allocates and initializes the tep context.
33 the pointer to the trace event parser context.
Dlibtraceevent-func_apis.txt31 functions resolver. This function receives a pointer to its custom context
37 kernel functions resolver. The _tep_ argument is trace event parser context.
38 The _priv_ argument is a custom context of the _func_ function. The function
45 context.
53 given address _addr_. The _tep_ argument is the trace event parser context.
58 parser context.
64 function. The _tep_ argument is the trace event parser context. The _name_ is
75 context. The _fmt_ is the string to register, it is copied internally.
104 char *my_resolve_kernel_addr(void *context,
107 struct db *function_database = context;
/tools/testing/nvdimm/test/
Dnfit_test.h175 __u32 context; member
180 __u32 context; member
191 __u32 context; member
196 __u32 context; member
/tools/lib/traceevent/plugins/
Dplugin_hrtimer.c30 struct tep_event *event, void *context) in timer_expire_handler() argument
50 struct tep_event *event, void *context) in timer_start_handler() argument
Dplugin_kvm.c273 struct tep_event *event, void *context) in kvm_exit_handler() argument
296 struct tep_event *event, void *context) in kvm_emulate_insn_handler() argument
335 struct tep_event *event, void *context) in kvm_nested_vmexit_inject_handler() argument
349 struct tep_event *event, void *context) in kvm_nested_vmexit_handler() argument
353 return kvm_nested_vmexit_inject_handler(s, record, event, context); in kvm_nested_vmexit_handler()
375 struct tep_event *event, void *context) in kvm_mmu_print_role() argument
422 struct tep_event *event, void *context) in kvm_mmu_get_page_handler() argument
435 return kvm_mmu_print_role(s, record, event, context); in kvm_mmu_get_page_handler()

1234