Home
last modified time | relevance | path

Searched refs:tool (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/external/linux-tools-perf/src/tools/perf/
Dbuiltin-inject.c24 struct perf_tool tool; member
40 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
43 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__repipe_synth()
62 static int perf_event__repipe_op2_synth(struct perf_tool *tool, in perf_event__repipe_op2_synth() argument
67 return perf_event__repipe_synth(tool, event); in perf_event__repipe_op2_synth()
70 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr() argument
76 ret = perf_event__process_attr(tool, event, pevlist); in perf_event__repipe_attr()
80 return perf_event__repipe_synth(tool, event); in perf_event__repipe_attr()
83 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe() argument
88 return perf_event__repipe_synth(tool, event); in perf_event__repipe()
[all …]
Dbuiltin-mem.c15 struct perf_tool tool; member
61 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument
67 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples()
111 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
117 return dump_raw_samples(tool, event, sample, evsel, machine); in process_sample_event()
125 0, false, &mem->tool); in report_raw_events()
142 err = perf_session__process_events(session, &mem->tool); in report_raw_events()
190 .tool = { in cmd_mem()
Dbuiltin-record.c65 struct perf_tool tool; member
105 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument
110 struct perf_record *rec = container_of(tool, struct perf_record, tool); in process_synthesized_event()
290 struct perf_tool *tool = data; in perf_event__synthesize_guest_os() local
299 err = perf_event__synthesize_modules(tool, process_synthesized_event, in perf_event__synthesize_guest_os()
309 err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, in perf_event__synthesize_guest_os()
312 err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, in perf_event__synthesize_guest_os()
354 struct perf_tool *tool = &rec->tool; in __cmd_record() local
470 err = perf_event__synthesize_attrs(tool, session, in __cmd_record()
486 err = perf_event__synthesize_tracing_data(tool, output, evsel_list, in __cmd_record()
[all …]
Dbuiltin-report.c41 struct perf_tool tool; member
73 static int perf_report__add_mem_hist_entry(struct perf_tool *tool, in perf_report__add_mem_hist_entry() argument
80 struct perf_report *rep = container_of(tool, struct perf_report, tool); in perf_report__add_mem_hist_entry()
166 static int perf_report__add_branch_hist_entry(struct perf_tool *tool, in perf_report__add_branch_hist_entry() argument
172 struct perf_report *rep = container_of(tool, struct perf_report, tool); in perf_report__add_branch_hist_entry()
297 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
303 struct perf_report *rep = container_of(tool, struct perf_report, tool); in process_sample_event()
320 ret = perf_report__add_branch_hist_entry(tool, &al, sample, in process_sample_event()
325 ret = perf_report__add_mem_hist_entry(tool, &al, sample, in process_sample_event()
340 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
[all …]
/external/linux-tools-perf/src/tools/perf/util/
Dsession.c111 struct perf_tool *tool) in perf_session__new() argument
150 if (tool && tool->ordering_requires_timestamps && in perf_session__new()
151 tool->ordered_samples && !perf_evlist__sample_id_all(self->evlist)) { in perf_session__new()
153 tool->ordered_samples = false; in perf_session__new()
201 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub()
212 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
221 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
231 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
240 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
249 static int process_finished_round(struct perf_tool *tool,
[all …]
Devent.h192 typedef int (*perf_event__handler_t)(struct perf_tool *tool,
197 int perf_event__synthesize_thread_map(struct perf_tool *tool,
201 int perf_event__synthesize_threads(struct perf_tool *tool,
204 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool,
209 int perf_event__synthesize_modules(struct perf_tool *tool,
213 int perf_event__process_comm(struct perf_tool *tool,
217 int perf_event__process_lost(struct perf_tool *tool,
221 int perf_event__process_mmap(struct perf_tool *tool,
225 int perf_event__process_mmap2(struct perf_tool *tool,
229 int perf_event__process_fork(struct perf_tool *tool,
[all …]
Devent.c94 static pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument
125 if (process(tool, event, &synth_sample, machine) != 0) in perf_event__synthesize_comm()
158 if (process(tool, event, &synth_sample, machine) != 0) { in perf_event__synthesize_comm()
169 static int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument
238 if (process(tool, event, &synth_sample, machine) != 0) { in perf_event__synthesize_mmap_events()
248 int perf_event__synthesize_modules(struct perf_tool *tool, in perf_event__synthesize_modules() argument
294 if (process(tool, event, &synth_sample, machine) != 0) { in perf_event__synthesize_modules()
308 struct perf_tool *tool, in __event__synthesize_thread() argument
311 pid_t tgid = perf_event__synthesize_comm(tool, comm_event, pid, full, in __event__synthesize_thread()
315 return perf_event__synthesize_mmap_events(tool, mmap_event, pid, tgid, in __event__synthesize_thread()
[all …]
Dheader.h129 int perf_event__synthesize_attr(struct perf_tool *tool,
132 int perf_event__synthesize_attrs(struct perf_tool *tool,
135 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
138 int perf_event__synthesize_tracing_data(struct perf_tool *tool,
141 int perf_event__process_tracing_data(struct perf_tool *tool,
145 int perf_event__synthesize_build_id(struct perf_tool *tool,
149 int perf_event__process_build_id(struct perf_tool *tool,
Dtool.h14 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
18 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
21 typedef int (*event_attr_op)(struct perf_tool *tool,
25 typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event,
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java235 protected Tool tool; field in Antlr3Mojo
305 tool = new Tool(); in execute()
315 tool.setDebug(debug); in execute()
316 tool.setGenerate_DFA_dot(dfa); in execute()
317 tool.setGenerate_NFA_dot(nfa); in execute()
318 tool.setProfile(profile); in execute()
319 tool.setReport(report); in execute()
320 tool.setPrintGrammar(printGrammar); in execute()
321 tool.setTrace(trace); in execute()
322 tool.setVerbose(verbose); in execute()
[all …]
DAntlr3ErrorLog.java33 import org.antlr.tool.ANTLRErrorListener;
34 import org.antlr.tool.Message;
35 import org.antlr.tool.ToolMessage;
/external/boringssl/src/tool/
Dtool.cc69 const Tool &tool = kTools[i]; in usage() local
70 if (tool.func == nullptr) { in usage()
76 printf("%s", tool.name); in usage()
83 const Tool &tool = kTools[i]; in FindTool() local
84 if (tool.func == nullptr || name == tool.name) { in FindTool()
85 return tool.func; in FindTool()
113 tool_func_t tool = nullptr; in main() local
115 tool = FindTool(basename(argv[0])); in main()
117 if (tool == nullptr) { in main()
120 tool = FindTool(argv[1]); in main()
[all …]
/external/clang/tools/diag-build/
Ddiag-build.sh69 tool=$1
72 if [[ -z "$tool" ]]; then
75 elif [[ "$tool" == "xcodebuild" ]]; then
78 elif [[ "$tool" == "make" ]]; then
82 echo "Warning: unknown build system '$tool'" 1>&2
97 eval $tool $dry_run $set_compiler $@ 2>/dev/null |
109 if [[ "$tool" != "xcodebuild" ]]; then
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DBuildDependencyGenerator.java28 package org.antlr.tool;
80 protected Tool tool; field in BuildDependencyGenerator
85 public BuildDependencyGenerator(Tool tool, String grammarFileName) in BuildDependencyGenerator() argument
87 this.tool = tool; in BuildDependencyGenerator()
89 grammar = tool.getRootGrammar(grammarFileName); in BuildDependencyGenerator()
91 generator = new CodeGenerator(tool, grammar, language); in BuildDependencyGenerator()
100 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList()
116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); in getGeneratedFileList()
146 outputDir = tool.getOutputDirectory(g.getFileName()); in getGeneratedFileList()
170 String libdir = tool.getLibraryDirectory(); in getDependenciesFileList()
[all …]
DInterp.java28 package org.antlr.tool;
75 Tool tool = new Tool(); in main() local
77 Grammar parser = new Grammar(tool, grammarFileName, composite); in main()
99 Grammar lexer = new Grammar(tool); in main()
102 lexer.setTool(tool); in main()
/external/compiler-rt/test/sanitizer_common/
DCMakeLists.txt16 # Create a separate config for each tool we support.
17 foreach(tool ${SUPPORTED_TOOLS})
18 string(TOUPPER ${tool} tool_toupper)
20 list(APPEND SANITIZER_COMMON_TEST_DEPS ${tool})
23 set(SANITIZER_COMMON_LIT_TEST_MODE ${tool})
32 set(CONFIG_NAME ${tool}-${arch}-${OS_NAME})
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_libcdep.cc73 auto *tool = iter.next(); in SymbolizePC() local
75 if (tool->SymbolizePC(addr, res)) { in SymbolizePC()
92 auto *tool = iter.next(); in SymbolizeData() local
94 if (tool->SymbolizeData(addr, info)) { in SymbolizeData()
117 auto *tool = iter.next(); in Flush() local
119 tool->Flush(); in Flush()
126 auto *tool = iter.next(); in Demangle() local
128 if (const char *demangled = tool->Demangle(name)) in Demangle()
/external/clang/docs/
DLibTooling.rst6 This document will provide a basic walkthrough of how to write a tool using
40 Writing a standalone tool
44 possibly break, it's time to create a standalone tool. For a standalone tool
69 static llvm::cl::OptionCategory MyToolCategory("my-tool options");
89 // A clang tool can run over a number of sources in the same process...
95 // the tool constructor.
104 Putting it together --- the first tool
107 Now we combine the two previous steps into our first real tool. A more advanced
108 version of this example tool is also checked into the clang tree at
125 static cl::OptionCategory MyToolCategory("my-tool options");
[all …]
/external/llvm/docs/CommandGuide/
Dbugpoint.rst1 bugpoint - automatic test case reduction tool
48 **--tool-args** *tool args*
50 Pass all arguments specified after **--tool-args** to the LLVM tool under test
56 bugpoint [bugpoint args] --tool-args -- [tool args]
58 The "``--``" right after the **--tool-args** option tells **bugpoint** to
59 consider any options starting with "``-``" to be part of the **--tool-args**
62 **--safe-tool-args** *tool args*
64 Pass all arguments specified after **--safe-tool-args** to the "safe" execution
65 tool.
67 **--gcc-tool-args** *gcc tool args*
[all …]
/external/valgrind/drd/
DTesting.txt40 ./vg-in-place --tool=drd --check-stack-var=yes drd/tests/tsan_unittest 2>&1|less
48 ./vg-in-place --tool=drd --read-var-info=yes kate
49 ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes kate
50 ./vg-in-place --tool=drd --read-var-info=yes --trace-children=yes knode
51 ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes --trace-children=yes knode
52 ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes /usr/bin/designer
55 …./vg-in-place --tool=drd --trace-fork-join=yes --show-confl-seg=no --gen-suppressions=all /Applica…
56 …./vg-in-place --tool=drd --trace-fork-join=yes --show-confl-seg=no --gen-suppressions=all /Applica…
61 ./vg-in-place --tool=drd --read-var-info=yes --trace-children=yes gnome-terminal
79 …make -j2 -s MEMCHECK="$HOME/software/valgrind/vg-in-place --tool=drd --check-stack-var=yes --read-…
[all …]
/external/valgrind/perf/
Dvg_perf.in73 --outer-tool: tool to use by the outer valgrind (default cachegrind).
74 --outer-args: use this as outer tool args.
161 } elsif ($arg =~ /^--outer-tool=(.*)$/) {
318 foreach my $tool (@tools) {
320 my $tool_abbrev = $tool;
344 . "--command-line-only=yes --tool=$tool $extraopts -q "
374 if (not defined $first_tTool{$tool}) {
375 $first_tTool{$tool} = $tTool;
378 my $speedup = 100 - (100 * $tTool / $first_tTool{$tool});
/external/valgrind/drd/scripts/
Drun-splash253 …print_runtime_ratio "${avg1}" "${stddev1}" "${vsz1}" "${vszdev1}" "$VG" --tool=none "$@" -p${psep}…
57 …print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=none "$@" -p${psep}…
62 "$VG" --tool=drd --first-race-only=yes --check-stack-var=yes \
68 "$VG" --tool=drd --first-race-only=yes --check-stack-var=no \
73 …print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-…
77 …print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-…
81 …print_runtime_ratio "${avg4}" "${stddev4}" "${vsz4}" "${vszdev4}" "$VG" --tool=helgrind --history-…
Dmeasurement-functions81 local cmd tool
85 tool="tool-not-found"
89 tool="${arg#--tool=}"
93 vsz_tool="$(query_cmd_vsz "${tool}")"
/external/harfbuzz_ng/test/api/
DMakefile.am76 check-tool:
81 check-tool-raw:
89 $(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool-raw TOOL="$(GTESTER) --verbose --keep-going"
94 --tool=memcheck --suppressions=$(srcdir)/.valgrind-suppressions \
106 $(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool TOOL="valgrind $(VALGRIND_FLAGS)" \
134 .PHONY: check-symbols check-tool check-valgrind
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DJavaTarget.java31 import org.antlr.tool.Grammar;
32 import org.antlr.tool.Rule;
38 protected ST chooseWhereCyclicDFAsGo(Tool tool, in chooseWhereCyclicDFAsGo() argument

12345678910>>...30