Home
last modified time | relevance | path

Searched refs:query (Results 1 – 10 of 10) sorted by relevance

/tools/perf/scripts/python/
Dexport-to-sqlite.py160 query = QSqlQuery(db) variable
162 do_query(query, 'PRAGMA journal_mode = OFF')
163 do_query(query, 'BEGIN TRANSACTION')
165 do_query(query, 'CREATE TABLE selected_events ('
168 do_query(query, 'CREATE TABLE machines ('
172 do_query(query, 'CREATE TABLE threads ('
178 do_query(query, 'CREATE TABLE comms ('
184 do_query(query, 'CREATE TABLE comm_threads ('
188 do_query(query, 'CREATE TABLE dsos ('
194 do_query(query, 'CREATE TABLE symbols ('
[all …]
Dexport-to-postgresql.py323 query = QSqlQuery(db) variable
327 do_query(query, 'CREATE DATABASE ' + dbname)
331 query.finish()
332 query.clear()
338 query = QSqlQuery(db) variable
339 do_query(query, 'SET client_min_messages TO WARNING')
341 do_query(query, 'CREATE TABLE selected_events ('
344 do_query(query, 'CREATE TABLE machines ('
348 do_query(query, 'CREATE TABLE threads ('
354 do_query(query, 'CREATE TABLE comms ('
[all …]
Dexported-sql-viewer.py183 def QueryExec(query, stmt): argument
184 ret = query.exec_(stmt)
186 raise Exception("Query failed: " + query.lastError().text())
540 query = QSqlQuery(self.glb.db)
545 …QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_t…
555 while query.next():
557 insn_cnt = int(query.value(5))
558 cyc_cnt = int(query.value(6))
559 branch_count = int(query.value(7))
563 branch_count = int(query.value(5))
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dtp_attach_query.c10 struct perf_event_query_bpf *query; in test_tp_attach_query() local
36 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in test_tp_attach_query()
67 query->ids_len = num_progs; in test_tp_attach_query()
68 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query()
69 if (CHECK(err || query->prog_cnt != 0, in test_tp_attach_query()
72 err, errno, query->prog_cnt)) in test_tp_attach_query()
83 query->ids_len = 0; in test_tp_attach_query()
84 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query()
85 if (CHECK(err || query->prog_cnt != 2, in test_tp_attach_query()
88 err, errno, query->prog_cnt)) in test_tp_attach_query()
[all …]
/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-coalesce.sh7 local query="${SETTINGS_MAP[$1]}"
10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
Dethtool-ring.sh7 local query="${SETTINGS_MAP[$1]}"
11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
/tools/lib/bpf/
Dbpf.c778 attr.query.target_fd = target_fd; in bpf_prog_query()
779 attr.query.attach_type = type; in bpf_prog_query()
780 attr.query.query_flags = query_flags; in bpf_prog_query()
781 attr.query.prog_cnt = *prog_cnt; in bpf_prog_query()
782 attr.query.prog_ids = ptr_to_u64(prog_ids); in bpf_prog_query()
787 *attach_flags = attr.query.attach_flags; in bpf_prog_query()
788 *prog_cnt = attr.query.prog_cnt; in bpf_prog_query()
/tools/perf/Documentation/
Dperf-daemon.txt36 User need perf session that either produces data on query, like the
Dperf-config.txt149 To query the record mode of call graph, do
157 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
161 To query the config value of buildid directory in system config file (i.e. `$(sysconf)/perfconfig`)…
/tools/include/uapi/linux/
Dbpf.h1406 } query; member