Home
last modified time | relevance | path

Searched full:graph (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/Linux-v5.4/tools/power/pm-graph/
DMakefile9 install -d $(DESTDIR)$(PREFIX)/lib/pm-graph
10 install sleepgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph
11 install bootgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph
12 install -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config
13 install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/lib/pm-graph/config
14 install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
15 install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
16 install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
17 install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
18 install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
[all …]
/Linux-v5.4/drivers/media/mc/
Dmc-entity.c228 * Graph traversal
241 static void stack_push(struct media_graph *graph, in stack_push() argument
244 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
248 graph->top++; in stack_push()
249 graph->stack[graph->top].link = entity->links.next; in stack_push()
250 graph->stack[graph->top].entity = entity; in stack_push()
253 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
257 entity = graph->stack[graph->top].entity; in stack_pop()
258 graph->top--; in stack_pop()
267 * media_graph_walk_init - Allocate resources for graph walk
[all …]
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-platform.c315 /* ACPI Graph _DSD UUID : "ab02a46b-74c7-45a2-bd68-f7d344ef2153" */
319 /* Coresight ACPI Graph UUID : "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" */
372 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
373 * to the ACPI _DSD Graph specification.
375 * ACPI Devices Graph property has the following format:
379 * Graph[1],
381 * Graph[N]
384 * And each Graph entry has the following format:
386 * GraphID - Integer, identifying a graph the device belongs to.
388 * this graph. (e.g, see is_acpi_coresight_graph())
[all …]
/Linux-v5.4/lib/
Dobjagg.c710 static int objagg_tmp_graph_edge_index(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_index() argument
713 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index()
716 static void objagg_tmp_graph_edge_set(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_set() argument
719 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_edge_set()
722 __set_bit(edge_index, graph->edges); in objagg_tmp_graph_edge_set()
725 static bool objagg_tmp_graph_is_edge(struct objagg_tmp_graph *graph, in objagg_tmp_graph_is_edge() argument
728 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_is_edge()
731 return test_bit(edge_index, graph->edges); in objagg_tmp_graph_is_edge()
734 static unsigned int objagg_tmp_graph_node_weight(struct objagg_tmp_graph *graph, in objagg_tmp_graph_node_weight() argument
737 struct objagg_tmp_node *node = &graph->nodes[index]; in objagg_tmp_graph_node_weight()
[all …]
/Linux-v5.4/include/media/
Dmedia-entity.h24 * enum media_gobj_type - type of a graph object
43 /* Structs to represent the objects that belong to a media graph */
46 * struct media_gobj - Define a graph object.
55 * All objects on the media graph should have this struct embedded
78 * struct media_graph - Media graph traversal state
80 * @stack: Graph traversal stack; the stack contains information
83 * @stack.entity: pointer to &struct media_entity at the graph.
102 * @graph: Media graph walk during pipeline start / stop
106 struct media_graph graph; member
110 * struct media_link - A link object part of a media graph.
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Daudio-graph-card.txt1 Audio Graph Card:
3 Audio Graph Card specifies audio DAI connections of SoC <-> codec.
5 see ${LINUX}/Documentation/devicetree/bindings/graph.txt
7 Basically, Audio Graph Card property is same as Simple Card.
29 - compatible : "audio-graph-card";
40 compatible = "audio-graph-card";
71 compatible = "audio-graph-card";
143 compatible = "audio-graph-card";
180 compatible = "audio-graph-card";
193 audio-graph-card,prefix = "codec";
[all …]
/Linux-v5.4/drivers/iio/adc/
Dsc27xx_adc.c92 * through 2 points in the linear graph. If the voltage is less than 1.2v, we
93 * should use the small-scale graph, and if more than 1.2v, we should use the
94 * big-scale graph.
125 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
134 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
138 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
154 /* Only need to calibrate the adc values in the linear graph. */ in sc27xx_adc_scale_calibration()
155 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
156 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
271 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]
/Linux-v5.4/Documentation/media/uapi/mediactl/
Dmedia-ioc-g-topology.rst19 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties
50 the graph elements that are desired, putting the pointers to them at the
55 desired arrays with the media graph elements.
68 - Version of the media graph topology. When the graph is created,
69 this field starts with zero. Every time a graph element is added
74 - Number of entities in the graph
89 - Number of interfaces in the graph
104 - Total number of pads in the graph
118 - Total number of data and interface links in the graph
303 smaller than the actual number of elements inside the graph. This
Dmedia-controller-model.rst17 hardware devices and Linux Kernel interfaces are modelled as graph
18 objects on an oriented graph. The object types that constitute the graph
27 - An **interface** is a graph representation of a Linux Kernel
29 controls one or more entities in the graph.
/Linux-v5.4/tools/perf/Documentation/
Dperf-config.txt112 [call-graph]
115 print-type = graph
148 To query the record mode of call graph, do
150 % perf config call-graph.record-mode
154 % perf config report.queue-size call-graph.order report.children
156 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
158 % perf config --user call-graph.sort-order
379 call-graph.*::
381 there're options in control of call-graph.
383 call-graph.record-mode::
[all …]
Dperf-ftrace.txt66 --graph-funcs=::
67 Set graph filter on the given function (or a glob pattern).
75 Set graph notrace filter on the given function (or a glob pattern).
82 --graph-depth=::
83 Set max depth for function graph tracer to follow
Dperf-trace.txt161 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
162 Setup and enable call-graph (stack chain/backtrace) recording.
163 See `--call-graph` section in perf-record and perf-report
165 are 'dwarf' and 'lbr', where available, try: 'perf trace --call-graph dwarf'.
171 --kernel-syscall-graph::
193 knobs in --call-graph dwarf.
195 Implies '--call-graph dwarf' when --call-graph not present on the
205 Implies '--call-graph dwarf' when --call-graph not present on the
294 # perf trace -F min --call-graph=dwarf --max-events 1 --cpu 0
/Linux-v5.4/tools/perf/util/
Dcallchain.h19 #define CALLCHAIN_HELP "setup and enables call-graph (stack chain/backtrace):\n\n"
21 # define RECORD_MODE_HELP HELP_PAD "record_mode:\tcall graph recording mode (fp|dwarf|lbr)\n"
30 HELP_PAD "print_type:\tcall graph printing style (graph|flat|fractal|folded|none)\n" \
31 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \
32 HELP_PAD "print_limit:\tmaximum number of call graph entry (<number>)\n" \
33 HELP_PAD "order:\t\tcall graph order (caller|callee)\n" \
34 HELP_PAD "sort_key:\tcall graph sort key (function|address)\n" \
35 HELP_PAD "branch:\t\tinclude last branch info to call graph (branch)\n" \
36 HELP_PAD "value:\t\tcall graph value (percent|period|count)\n"
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-mc.c340 struct media_graph *graph) in pipeline_pm_use_count() argument
344 media_graph_walk_start(graph, entity); in pipeline_pm_use_count()
346 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count()
399 struct media_graph *graph) in pipeline_pm_power() argument
407 media_graph_walk_start(graph, entity); in pipeline_pm_power()
409 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power()
416 media_graph_walk_start(graph, first); in pipeline_pm_power()
418 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power()
452 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local
459 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify()
[all …]
/Linux-v5.4/Documentation/media/kapi/
Dmc-core.rst18 modelled as an oriented graph of building blocks called entities connected
137 Graph traversal
140 The media framework provides APIs to iterate over entities in a graph.
155 Drivers might also need to iterate over all entities in a graph that can be
157 framework provides a depth-first graph traversal API for that purpose.
162 supported by the graph traversal API. To prevent infinite loops, the graph
166 Drivers initiate a graph traversal by calling
169 The graph structure, provided by the caller, is initialized to start graph
175 When the graph traversal is complete the function will return ``NULL``.
177 Graph traversal can be interrupted at any moment. No cleanup function call
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-filter-stack.tc3 # description: ftrace - function graph filters with stack tracer
5 # Make sure that function graph filtering works, and is not
9 echo "no function graph tracer configured"
61 fail "Graph filtering not working with stack tracer?"
78 fail "Graph filtering not working after stack tracer disabled?"
Dfgraph-filter.tc3 # description: ftrace - function graph filters
5 # Make sure that function graph filtering works
8 echo "no function graph tracer configured"
35 fail "Graph filtering not working by itself?"
/Linux-v5.4/scripts/
Dheaderdep.pl4 # Detect cycles in the header file dependency graph
24 graph => \$opt_graph,
36 graph();
47 print " --graph\n";
52 print " $0 --graph include/linux/kernel.h | dot -Tpng -o graph.png\n";
172 # Output dependency graph in GraphViz language.
173 sub graph { subroutine
/Linux-v5.4/kernel/trace/
Dtrace_irqsoff.c40 static void stop_irqsoff_tracer(struct trace_array *tr, int graph);
41 static int start_irqsoff_tracer(struct trace_array *tr, int graph);
95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
248 * In graph mode call the graph tracer output function, in irqsoff_print_line()
462 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
470 if (graph) in register_irqsoff_function()
481 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
486 if (graph) in unregister_irqsoff_function()
506 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
[all …]
Dtrace_sched_wakeup.c38 static int start_func_tracer(struct trace_array *tr, int graph);
39 static void stop_func_tracer(struct trace_array *tr, int graph);
63 * inside the #ifdef of the function graph tracer below.
64 * This is OK, since the function graph tracer is
192 * In graph mode call the graph tracer output function, in wakeup_print_line()
233 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
241 if (graph) in register_wakeup_function()
252 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
257 if (graph) in unregister_wakeup_function()
277 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
[all …]
Dfgraph.c36 * the function graph tracing. This function is called by the critical
37 * paths of function graph to keep those paths from doing any more harm.
45 * ftrace_graph_stop - set to permanently disable function graph tracincg
47 * In case of an error int function graph tracing, this is called
48 * to try to keep function graph tracing from causing any more harm.
145 * the function graph trace will fail. This test detects this in ftrace_pop_return_trace()
241 * call graph at @idx starting with zero. If @idx is zero, it
262 * return address ('ret') to its original value, in case the function graph
428 * The function graph tracer should only trace the functions defined
430 * tracer ops is registered, the graph tracer requires testing the
[all …]
/Linux-v5.4/arch/sh/kernel/
Ddumpstack.c56 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
68 ret_stack = ftrace_graph_get_ret_stack(task, *graph); in print_ftrace_graph_addr()
76 (*graph)++; in print_ftrace_graph_addr()
82 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
92 int graph = 0; in stack_reader_dump() local
104 context, &graph); in stack_reader_dump()
/Linux-v5.4/tools/perf/tests/attr/
DREADME47 perf record -g kill (test-record-graph-default)
48 perf record --call-graph dwarf kill (test-record-graph-dwarf)
49 perf record --call-graph fp kill (test-record-graph-fp)
/Linux-v5.4/sound/soc/generic/
DMakefile4 snd-soc-audio-graph-card-objs := audio-graph-card.o
8 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o
/Linux-v5.4/tools/power/pm-graph/config/
Dsuspend-callgraph.cfg47 # graph user processes and cpu usage in the timeline (default: false)
51 # graph source functions in the timeline (default: false)
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
80 # Max graph depth

12345678910>>...13