Home
last modified time | relevance | path

Searched refs:con (Results 1 – 8 of 8) sorted by relevance

/tools/perf/util/
A Dbpf_lock_contention.c44 if (con->btf == NULL) { in check_slab_cache_iter()
202 if (con->save_callstack) { in lock_contention_prepare()
204 if (con->owner) { in lock_contention_prepare()
265 if (con->nr_delays) { in lock_contention_prepare()
275 con->delays[i].sym); in lock_contention_prepare()
296 if (con->aggr_mode == LOCK_AGGR_CGROUP || con->filters->nr_cgrps) { in lock_contention_prepare()
301 check_slab_cache_iter(con); in lock_contention_prepare()
310 init_numa_data(con); in lock_contention_prepare()
376 if (con->nr_delays) { in lock_contention_prepare()
380 bpf_map_update_elem(fd, &con->delays[i].addr, &con->delays[i].time, BPF_ANY); in lock_contention_prepare()
[all …]
A Dlock-contention.h174 int lock_contention_prepare(struct lock_contention *con);
177 int lock_contention_read(struct lock_contention *con);
178 int lock_contention_finish(struct lock_contention *con);
180 struct lock_stat *pop_owner_stack_trace(struct lock_contention *con);
184 static inline int lock_contention_prepare(struct lock_contention *con __maybe_unused) in lock_contention_prepare()
191 static inline int lock_contention_finish(struct lock_contention *con __maybe_unused) in lock_contention_finish()
196 static inline int lock_contention_read(struct lock_contention *con __maybe_unused) in lock_contention_read()
201 static inline struct lock_stat *pop_owner_stack_trace(struct lock_contention *con __maybe_unused) in pop_owner_stack_trace()
/tools/perf/scripts/python/
A Devent_analyzing_sample.py38 con = sqlite3.connect("/dev/shm/perf.db") variable
39 con.isolation_level = None
48 con.execute("""
55 con.execute("""
97 con.execute("insert into gen_events values(?, ?, ?, ?)",
102 con.execute("insert into pebs_ll values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
111 con.close()
126 count = con.execute("select count(*) from gen_events")
159 count = con.execute("select count(*) from pebs_ll")
180 dseq = con.execute("select dse, count(dse) from pebs_ll group by dse order by -count(dse)")
[all …]
/tools/perf/tests/shell/
A Dlock_contention.sh61 if ! perf lock con -b true > /dev/null 2>&1 ; then
67 perf lock con -a -b -E 1 -q -- perf bench sched messaging -p > /dev/null 2> ${result}
97 if ! perf lock con -b true > /dev/null 2>&1 ; then
120 if ! perf lock con -b true > /dev/null 2>&1 ; then
137 if ! perf lock con -b true > /dev/null 2>&1 ; then
161 if ! perf lock con -b true > /dev/null 2>&1 ; then
193 if ! perf lock con -b true > /dev/null 2>&1 ; then
221 if ! perf lock con -b true > /dev/null 2>&1 ; then
249 if ! perf lock con -b true > /dev/null 2>&1 ; then
264 if ! perf lock con -b true > /dev/null 2>&1 ; then
[all …]
/tools/perf/
A Dbuiltin-lock.c1816 print_lock_stat(con, st); in print_contention_result()
1822 if (con->owner && con->save_callstack && verbose > 0) { in print_contention_result()
1833 print_lock_stat(con, st); in print_contention_result()
1847 total += con->nr_filtered; in print_contention_result()
2000 struct lock_contention con = { in __cmd_contention() local
2042 con.save_callstack = true; in __cmd_contention()
2061 con.evlist = evlist__new(); in __cmd_contention()
2062 if (con.evlist == NULL) { in __cmd_contention()
2128 lock_contention_read(&con); in __cmd_contention()
2142 evlist__delete(con.evlist); in __cmd_contention()
[all …]
/tools/testing/selftests/net/tcp_ao/
A Dbench-lookups.c295 struct bench_stats *con; in bench_connect_client() local
300 con = &bt->connect_rand_key; in bench_connect_client()
302 con = &bt->connect_last_key; in bench_connect_client()
319 measure_call(con, connect_client, sk, (void *)&port_off); in bench_connect_client()
/tools/firewire/
A Dnosy-dump.c902 poptContext con; in main() local
908 con = poptGetContext(NULL, argc, argv, options, 0); in main()
909 retval = poptGetNextOpt(con); in main()
911 poptPrintUsage(con, stdout, 0); in main()
1019 poptFreeContext(con); in main()
/tools/power/cpupower/po/
A Dit.po505 "Per le opzioni segnalate con *, omettere l'opzione -c o --cpu è come "
507 "con il valore 0\n"
515 "L'opzione specificata a questo programma non può essere combinata con --cpu\n"
597 "Per le opzioni segnalate con *, omettere l'opzione -c o --cpu è come "
599 "con il valore 0\n"
613 "2. l'opzione -f FREQ, --freq FREQ non può essere specificata con altre "
655 "l'opzione -f/--freq non può venire combinata con i parametri\n"

Completed in 18 milliseconds