/developtools/hiperf/test/unittest/common/native/ |
H A D | hiperf_client_test.cpp | 39 static void TestCaseOption(const HiperfClient::RecordOption &opt); 146 HiperfClient::RecordOption opt; in HWTEST_F() local 147 opt.SetTargetSystemWide(true); in HWTEST_F() 150 ASSERT_TRUE(myHiperf.PrePare(opt)); in HWTEST_F() 172 void HiperfClientTest::TestCaseOption(const HiperfClient::RecordOption &opt) in TestCaseOption() argument 180 ASSERT_TRUE(myHiperf.Start(opt)); in TestCaseOption() 208 HiperfClient::RecordOption opt; in HWTEST_F() local 209 opt.SetTargetSystemWide(true); in HWTEST_F() 211 TestCaseOption(opt); in HWTEST_F() 216 HiperfClient::RecordOption opt; in HWTEST_F() local 225 HiperfClient::RecordOption opt; HWTEST_F() local 236 HiperfClient::RecordOption opt; HWTEST_F() local 248 HiperfClient::RecordOption opt; HWTEST_F() local 258 HiperfClient::RecordOption opt; HWTEST_F() local 268 HiperfClient::RecordOption opt; HWTEST_F() local 279 HiperfClient::RecordOption opt; HWTEST_F() local 289 HiperfClient::RecordOption opt; HWTEST_F() local 299 HiperfClient::RecordOption opt; HWTEST_F() local 308 HiperfClient::RecordOption opt; HWTEST_F() local 320 HiperfClient::RecordOption opt; HWTEST_F() local 329 HiperfClient::RecordOption opt; HWTEST_F() local 338 HiperfClient::RecordOption opt; HWTEST_F() local 348 HiperfClient::RecordOption opt; HWTEST_F() local 358 HiperfClient::RecordOption opt; HWTEST_F() local 368 HiperfClient::RecordOption opt; HWTEST_F() local 378 HiperfClient::RecordOption opt; HWTEST_F() local 388 HiperfClient::RecordOption opt; HWTEST_F() local 398 HiperfClient::RecordOption opt; HWTEST_F() local 408 HiperfClient::RecordOption opt; HWTEST_F() local 418 HiperfClient::RecordOption opt; HWTEST_F() local 428 HiperfClient::RecordOption opt; HWTEST_F() local 440 HiperfClient::RecordOption opt; HWTEST_F() local 450 HiperfClient::RecordOption opt; HWTEST_F() local 460 HiperfClient::RecordOption opt; HWTEST_F() local 473 HiperfClient::RecordOption opt; HWTEST_F() local [all...] |
H A D | subcommand_record_test.cpp | 77 void TestEvents(std::string &opt, std::string &uk, bool isFork = true); 245 std::string opt = "-d 10000.0 "; in HWTEST_F() local 246 opt += " ls "; // because UT don't need wait so long in HWTEST_F() 247 ForkAndRunTest(opt, true, false); in HWTEST_F() 252 std::string opt = "-d 10000.1 "; in HWTEST_F() local 253 opt += " "; in HWTEST_F() 254 TestRecordCommand(opt, false); in HWTEST_F() 300 std::string opt = "-d 2 -e sw-task-clock -c "; in HWTEST_F() local 302 opt += std::to_string(i); in HWTEST_F() 303 opt in HWTEST_F() 318 std::string opt = "-d 2 -c "; HWTEST_F() local 400 std::string opt = "-d 2 --period "; HWTEST_F() local 408 std::string opt = "-d 2 --period "; HWTEST_F() local 425 TestEvents(std::string &opt, std::string &uk, bool isFork) TestEvents() argument 467 std::string opt = "-d 2 -c 0 -e "; HWTEST_F() local 474 std::string opt = "-d 2 -c 0 -e "; HWTEST_F() local 481 std::string opt = "-d 2 -c 0 -e "; HWTEST_F() local 488 std::string opt = "-d 2 -c 0 -e "; HWTEST_F() local 501 std::string opt = "-d 2 -c 0 -g "; HWTEST_F() local 508 std::string opt = "-d 2 -c 0 -g "; HWTEST_F() local 515 std::string opt = "-d 2 -c 0 -g "; HWTEST_F() local [all...] |
/developtools/integration_verification/tools/fotff/rec/ |
H A D | flashandtest.go | 21 func FlashAndTest(ctx context.Context, opt *FlashAndTestOptions) error { 23 if err := opt.M.Flash(opt.Device, opt.Version, ctx); err != nil { 24 logrus.Errorf("Failed to flash version %s to device %s, error: %s", opt.Version, opt.Device, err.Error()) 29 if err := opt.T.Prepare(opt.M.PkgDir(opt.Version), opt [all...] |
/developtools/hiperf/test/fuzztest/clientapi_fuzzer/ |
H A D | ClientApi_fuzzer.cpp | 56 HiperfClient::RecordOption opt; in FuzzClientApiOption() local 61 opt.SetOutputFilename(stringArg); in FuzzClientApiOption() 62 opt.SetTimeStopSec(size); in FuzzClientApiOption() 63 opt.SetFrequency(size); in FuzzClientApiOption() 64 opt.SetPeriod(size); in FuzzClientApiOption() 65 opt.SetSelectEvents(stringArgs); in FuzzClientApiOption() 66 opt.SetSelectGroups(stringArgs); in FuzzClientApiOption() 67 opt.SetSelectPids(pids); in FuzzClientApiOption() 68 opt.SetSelectTids(pids); in FuzzClientApiOption() 69 opt in FuzzClientApiOption() [all...] |
/developtools/profiler/device/plugins/native_hook/src/ |
H A D | hook_socket_client.cpp | 61 struct OptArg *opt = static_cast<struct OptArg*>(arg); in NmdWriteStat() local 64 if (strncpy_s(opt->buf + opt->pos, MEMCHECK_DETAILINFO_MAXSIZE - opt->pos, in NmdWriteStat() 68 opt->pos += nmdTimeLen; in NmdWriteStat() 71 if (len + opt->pos + 1 > MEMCHECK_DETAILINFO_MAXSIZE) { in NmdWriteStat() 74 if (strncpy_s(opt->buf + opt->pos, MEMCHECK_DETAILINFO_MAXSIZE - opt->pos, buf, len) != EOK) { in NmdWriteStat() 77 opt in NmdWriteStat() 208 struct OptArg opt = {0, reinterpret_cast<char*>(nmdBuf) }; SendNmdInfo() local [all...] |
/developtools/profiler/hiebpf/scripts/ |
H A D | hiebpf_code_generator.py | 56 for opt, val in opts: 57 if opt == opt_names[0]: 59 if opt == opt_names[1]: 61 if opt == opt_names[2]: 63 if opt == opt_names[3] and val == "true":
|
/developtools/hiperf/demo/cpp/ |
H A D | hiperf_demo.cpp | 71 HiperfClient::RecordOption opt; in main() local 73 opt.SetAppPackage(TEST_PROCESSES); in main() 74 opt.SetTimeStopSec(timeout); in main() 75 if (myHiperf.Start(opt)) { in main()
|
/developtools/hdc/scripts/ |
H A D | dev_hdc_test.py | 190 if opt := input(f"Default hdc execution? [{cls.hdc_exe}]\n").strip(): 191 cls.hdc_exe = opt 192 if opt := input(f"Default local storage path? [{cls.local_path}]\n").strip(): 193 cls.local_path = opt 194 if opt := input(f"Default remote storage path? [{cls.remote_path}]\n").strip(): 195 cls.remote_path = opt 196 if opt := input(f"Default remote ip? [{cls.remote_ip}]\n").strip(): 197 cls.remote_ip = opt 198 if opt := input(f"Default remote port? [{cls.remote_port}]\n").strip(): 199 cls.remote_port = int(opt) [all...] |
/developtools/syscap_codec/src/ |
H A D | main.c | 44 static void OutputVersion(const char *arg, int opt);
212 void OutputVersion(const char *arg, int opt)
in OutputVersion() argument 214 if (arg != NULL && opt > 1) {
in OutputVersion()
|
/developtools/integration_verification/tools/fotff/ |
H A D | main.go | 110 opt := &rec.FlashAndTestOptions{ 117 return rec.FlashAndTest(context.TODO(), opt)
|
/developtools/hdc/hdc_rust/src/daemon_lib/ |
H A D | daemon_app.rs | 246 let (opt, package): (Vec<String>, Vec<String>) = str 250 do_app_uninstall(session_id, channel_id, opt.join(" "), package.join(" ")).await;
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
H A D | ebpf_converter.cpp | 560 int32_t opt; in main() local 562 while ((opt = getopt_long(argc, argv, "i:o:h", long_options, nullptr)) != -1) { in main() 563 switch (opt) { in main()
|
/developtools/hiperf/interfaces/innerkits/native/src/ |
H A D | hiperf_client.cpp | 237 RecordOption opt; in SetCallStackSamplingConfigs() local 238 SetSelectEvents(opt.GetSelectEvents()); in SetCallStackSamplingConfigs()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 5384 u8 opt; member 28137 struct tracer_opt *opt; member 54787 struct ip_options opt; global() member 54809 struct ip_options *opt; global() member 54870 struct ipv6_txoptions *opt; global() member 54934 struct ipv6_txoptions *opt; global() member 55055 struct ipv6_txoptions *opt; global() member 55070 struct ip_options opt; global() member 70588 const struct palmas_pin_info *opt[4]; global() member 115648 u32 opt; global() member 127415 enum nl802154_cca_opts opt; global() member 153602 struct ip_options_rcu opt; global() member 153610 struct ip_options_rcu *opt; global() member 155964 struct ipv6_txoptions *opt; global() member 156221 __u8 opt[0]; global() member 156500 __u8 opt[0]; global() member 156505 __u8 opt[0]; global() member [all...] |