Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 50) sorted by relevance

12

/tools/testing/selftests/ftrace/test.d/00basic/
A Dmount_options.tc38 local instance="$mount_point/instances/$(mktemp -u test-XXXXXX)"
40 mkdir "$instance"
41 echo "$instance"
45 local instance="$1"
47 rmdir "$instance"
89 local instance=$(create_instance "$mount_point")
90 check_gid "$instance" "$other_group"
91 remove_instance "$instance"
A Dtest_ownership.tc107 instance="$(mktemp -u test-XXXXXX)"
109 mkdir instances/$instance
111 cd instances/$instance
117 rmdir instances/$instance
/tools/bootconfig/scripts/
A Dbconf2ftrace.sh246 instance="ftrace.instance.${1}"
249 instance="ftrace"
253 set_array_of ${instance}.options ${instancedir}/trace_options
256 set_value_of ${instance}.tracing_on ${instancedir}/tracing_on
258 set_array_of ${instance}.ftrace.filters \
260 set_array_of ${instance}.ftrace.notrace \
263 if xbc_has_key ${instance}.alloc_snapshot; then
267 if xbc_has_key ${instance}.buffer_size; then
268 size=`xbc_get_val ${instance}.buffer_size 1`
273 setup_events ${instance} $1
[all …]
/tools/power/acpi/tools/acpidump/
A Dapdump.c16 u32 instance, acpi_physical_address address);
143 u32 instance, acpi_physical_address address) in ap_dump_table_buffer() argument
159 return (ap_write_to_binary_file(table, instance)); in ap_dump_table_buffer()
193 u32 instance = 0; in ap_dump_all_tables() local
203 acpi_os_get_table_by_index(i, &table, &instance, &address); in ap_dump_all_tables()
223 table_status = ap_dump_table_buffer(table, instance, address); in ap_dump_all_tables()
295 u32 instance; in ap_dump_table_by_name() local
323 for (instance = 0; instance < AP_MAX_ACPI_FILES; instance++) { in ap_dump_table_by_name()
324 status = acpi_os_get_table_by_name(local_signature, instance, in ap_dump_table_by_name()
340 table_status = ap_dump_table_buffer(table, instance, address); in ap_dump_table_by_name()
A Dapfiles.c104 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file() argument
132 if (instance > 0) { in ap_write_to_binary_file()
133 snprintf(instance_str, sizeof(instance_str), "%u", instance); in ap_write_to_binary_file()
A Dacpidump.h82 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance);
/tools/power/acpi/os_specific/service_layers/
A Doslinuxtbl.c21 u32 instance; member
58 u32 instance,
66 u32 instance,
220 u32 instance, in acpi_os_get_table_by_name() argument
297 if (next->instance == instance) { in osl_add_table_to_list()
314 if (instance) { in osl_add_table_to_list()
322 new_info->instance = instance; in osl_add_table_to_list()
382 *instance = info->instance; in acpi_os_get_table_by_index()
997 u32 instance; in osl_list_customized_tables() local
1172 *instance = 0; in osl_table_name_from_file()
[all …]
/tools/tracing/rtla/src/
A Dtrace.c347 retval = tracefs_event_file_write(instance->inst, tevent->system, in trace_event_disable_filter()
359 static void trace_event_save_hist(struct trace_instance *instance, in trace_event_save_hist() argument
423 trace_event_save_hist(instance, tevent); in trace_event_disable_trigger()
437 void trace_events_disable(struct trace_instance *instance, in trace_events_disable() argument
448 trace_event_disable_filter(instance, tevent); in trace_events_disable()
449 trace_event_disable_trigger(instance, tevent); in trace_events_disable()
532 int trace_events_enable(struct trace_instance *instance, in trace_events_enable() argument
547 retval = trace_event_enable_filter(instance, tevent); in trace_events_enable()
551 retval = trace_event_enable_trigger(instance, tevent); in trace_events_enable()
565 void trace_events_destroy(struct trace_instance *instance, in trace_events_destroy() argument
[all …]
A Dtrace.h44 void trace_events_disable(struct trace_instance *instance,
46 void trace_events_destroy(struct trace_instance *instance,
48 int trace_events_enable(struct trace_instance *instance,
/tools/testing/selftests/drivers/net/netdevsim/
A Dhw_stats_l3.sh83 local instance=$1; shift
197 local instance=1
207 nsim_hwstats_enable $instance dummy1 $type
219 nsim_hwstats_disable $instance dummy1 $type
223 nsim_hwstats_enable $instance dummy1 $type
233 nsim_hwstats_disable $instance dummy1 $type
247 local instance=$1; shift
255 nsim_hwstats_enable $instance dummy1 $type
277 nsim_hwstats_disable $instance dummy1 $type
307 local instance=1
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfgraph-multi-filter.tc57 instance=$1
61 echo "$filter" > $instance/set_ftrace_filter
62 echo "$notrace" > $instance/set_ftrace_notrace
63 echo function_graph > $instance/current_tracer
88 instance=$1
89 echo nop > $instance/current_tracer
/tools/testing/ktest/examples/bootconfigs/
A Dtracing.bconf11 instance.bar {
25 instance.foo {
A Dboottrace.bconf33 ftrace.instance {
/tools/gpio/
A Dgpio-sloppy-logic-analyzer.sh36 -i|--instance <str>: name of the logic analyzer in case you have multiple instances. Default
37 to first instance found
58 use the first logic analyzer instance found:
60 Samples 50us at 2MHz waiting for a falling edge on channel 2. CPU and instance as above:
68 The filename is the logic analyzer instance name plus a since-epoch timestamp.
176 rep=$(getopt -a -l cpu:,duration-us:,help,instance:,list-instances,kernel-debug-dir:,num_samples:,o…
183 -i|--instance) lainstance="$2"; shift;;
244 instance=${lasysfsdir##*/}
245 echo "Setting up '$instance': $numsamples samples at ${samplefreq}Hz with ${triggerdat:-no} trigger…
/tools/thermal/tmon/
A Dsysfs.c104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev()
305 ptdata.tzi[k].instance = i; in scan_tzones()
367 ptdata.cdi[k].instance = i; in scan_cdevs()
473 if (ptdata.tzi[i].instance == zone_inst) in zone_instance_to_index()
502 ptdata.tzi[i].instance); in update_thermal_data()
515 ptdata.cdi[i].instance); in update_thermal_data()
551 ptdata.cdi[i].instance, state, cdev_state); in set_ctrl_state()
553 CDEV, ptdata.cdi[i].instance); in set_ctrl_state()
572 ctrl_cdev_id = ptdata.cdi[i].instance; in get_ctrl_state()
574 ptdata.cdi[i].instance); in get_ctrl_state()
A Dtui.c217 ptdata.cdi[j].instance, in show_cooling_device()
225 int tz_inst = ptdata.tzi[i].instance; in show_cooling_device()
237 cdev_inst = ptdata.cdi[j].instance; in show_cooling_device()
303 ptdata.cdi[j].type, ptdata.cdi[j].instance); in show_dialogue()
430 CDEV, ptdata.cdi[ch].instance); in handle_input_val()
457 ptdata.cdi[cdev_id].instance); in handle_input_choice()
590 ptdata.tzi[i].instance, temp); in show_data_w()
624 int inst = ptdata.tzi[i].instance; in show_sensors_w()
628 ptdata.tzi[i].type, ptdata.tzi[i].instance); in show_sensors_w()
A Dtmon.c179 ptdata.tzi[i].instance, in prepare_logging()
196 ptdata.tzi[i].instance); in prepare_logging()
200 ptdata.cdi[i].instance); in prepare_logging()
311 target_thermal_zone = ptdata.tzi[0].instance; in main()
A Dtmon.h52 int instance; member
78 int instance; member
/tools/perf/util/
A Dllvm-c-helpers.cpp36 static LLVMSymbolizer *instance = nullptr; in get_symbolizer() local
37 if (instance == nullptr) { in get_symbolizer()
48 instance = new LLVMSymbolizer(opts); in get_symbolizer()
50 return instance; in get_symbolizer()
/tools/perf/scripts/python/Perf-Trace-Util/
A DBuild3 …statement: The python headers have mixed code with declarations (decls after asserts, for instance)
/tools/perf/util/scripting-engines/
A DBuild8 …statement: The python headers have mixed code with declarations (decls after asserts, for instance)
/tools/include/uapi/drm/
A Di915_drm.h269 #define __I915_PMU_ENGINE(class, instance, sample) \ argument
271 (instance) << I915_PMU_SAMPLE_BITS | \
274 #define I915_PMU_ENGINE_BUSY(class, instance) \ argument
275 __I915_PMU_ENGINE(class, instance, I915_SAMPLE_BUSY)
277 #define I915_PMU_ENGINE_WAIT(class, instance) \ argument
278 __I915_PMU_ENGINE(class, instance, I915_SAMPLE_WAIT)
280 #define I915_PMU_ENGINE_SEMA(class, instance) \ argument
281 __I915_PMU_ENGINE(class, instance, I915_SAMPLE_SEMA)
/tools/testing/selftests/hid/tests/
A Dconftest.py21 with HIDTestUdevRule.instance():
/tools/testing/selftests/arm64/fp/
A DREADME82 each instance in separate terminal (use screen or ssh etc.) This
99 instance similar to that illustrated above; otherwise details of the
/tools/testing/selftests/net/tcp_ao/lib/
A Dftrace.c309 char *enable_path, *filter_path, *instance = tracer->instance_path; in setup_trace_event() local
312 enable_path = test_sprintf("%s/events/%s/enable", instance, event); in setup_trace_event()
316 filter_path = test_sprintf("%s/events/%s/filter", instance, event); in setup_trace_event()

Completed in 48 milliseconds

12