Home
last modified time | relevance | path

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

12

/tools/testing/selftests/ftrace/test.d/00basic/
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"
Dtest_ownership.tc107 instance="$(mktemp -u test-XXXXXX)"
109 mkdir instances/$instance
111 cd instances/$instance
117 rmdir instances/$instance
/tools/bootconfig/scripts/
Dbconf2ftrace.sh246 instance="ftrace.instance.${1}"
249 instance="ftrace"
253 set_array_of ${instance}.options ${instancedir}/trace_options
254 set_value_of ${instance}.trace_clock ${instancedir}/trace_clock
255 set_value_of ${instance}.cpumask ${instancedir}/tracing_cpumask
256 set_value_of ${instance}.tracing_on ${instancedir}/tracing_on
257 set_value_of ${instance}.tracer ${instancedir}/current_tracer
258 set_array_of ${instance}.ftrace.filters \
260 set_array_of ${instance}.ftrace.notrace \
263 if xbc_has_key ${instance}.alloc_snapshot; then
[all …]
/tools/power/acpi/tools/acpidump/
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()
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()
Dacpidump.h82 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance);
/tools/tracing/rtla/src/
Dtrace.c288 static void trace_event_disable_filter(struct trace_instance *instance, in trace_event_disable_filter() argument
305 retval = tracefs_event_file_write(instance->inst, tevent->system, in trace_event_disable_filter()
317 static void trace_event_save_hist(struct trace_instance *instance, in trace_event_save_hist() argument
347 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", 0); in trace_event_save_hist()
366 static void trace_event_disable_trigger(struct trace_instance *instance, in trace_event_disable_trigger() argument
381 trace_event_save_hist(instance, tevent); in trace_event_disable_trigger()
385 retval = tracefs_event_file_write(instance->inst, tevent->system, in trace_event_disable_trigger()
395 void trace_events_disable(struct trace_instance *instance, in trace_events_disable() argument
406 trace_event_disable_filter(instance, tevent); in trace_events_disable()
407 trace_event_disable_trigger(instance, tevent); in trace_events_disable()
[all …]
Dtrace.h42 void trace_events_disable(struct trace_instance *instance,
44 void trace_events_destroy(struct trace_instance *instance,
46 int trace_events_enable(struct trace_instance *instance,
/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c21 u32 instance; member
31 osl_table_name_from_file(char *filename, char *signature, u32 *instance);
33 static acpi_status osl_add_table_to_list(char *signature, u32 instance);
58 u32 instance,
66 u32 instance,
220 u32 instance, in acpi_os_get_table_by_name() argument
240 osl_get_bios_table(signature, instance, table, address); in acpi_os_get_table_by_name()
245 instance, table, address); in acpi_os_get_table_by_name()
255 signature, instance, table, in acpi_os_get_table_by_name()
277 static acpi_status osl_add_table_to_list(char *signature, u32 instance) in osl_add_table_to_list() argument
[all …]
/tools/testing/selftests/drivers/net/netdevsim/
Dhw_stats_l3.sh83 local instance=$1; shift
89 echo $ifindex > $(DEBUGFS_DIR $instance)/hwstats/$type/$action
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
256 nsim_hwstats_fail_next_enable $instance dummy1 $type
[all …]
/tools/testing/ktest/examples/bootconfigs/
Dtracing.bconf11 instance.bar {
25 instance.foo {
Dboottrace.bconf33 ftrace.instance {
/tools/gpio/
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/
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()
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()
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()
Dtmon.h52 int instance; member
78 int instance; member
/tools/perf/util/
Dllvm-c-helpers.cpp37 static LLVMSymbolizer *instance = nullptr; in get_symbolizer() local
38 if (instance == nullptr) { in get_symbolizer()
49 instance = new LLVMSymbolizer(opts); in get_symbolizer()
51 return instance; in get_symbolizer()
/tools/perf/scripts/python/Perf-Trace-Util/
DBuild3 …statement: The python headers have mixed code with declarations (decls after asserts, for instance)
/tools/perf/util/scripting-engines/
DBuild8 …statement: The python headers have mixed code with declarations (decls after asserts, for instance)
/tools/include/uapi/drm/
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/
Dconftest.py21 with HIDTestUdevRule.instance():
/tools/testing/selftests/arm64/fp/
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/
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()
/tools/perf/Documentation/
Dperf-test.txt42 for instance, 'perf probe' tests that add/remove probes or clean all probes, etc.

12