Searched refs:sid (Results 1 – 7 of 7) sorted by relevance
/tools/perf/lib/ |
D | evlist.c | 189 struct perf_sample_id *sid = SID(evsel, cpu, thread); in perf_evlist__id_hash() local 191 sid->id = id; in perf_evlist__id_hash() 192 sid->evsel = evsel; in perf_evlist__id_hash() 193 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash() 194 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash()
|
/tools/perf/util/ |
D | evlist.c | 430 struct perf_sample_id *sid = SID(evsel, cpu, thread); in perf_evlist__set_sid_idx() local 431 sid->idx = idx; in perf_evlist__set_sid_idx() 433 sid->cpu = evlist->core.cpus->map[cpu]; in perf_evlist__set_sid_idx() 435 sid->cpu = -1; in perf_evlist__set_sid_idx() 437 sid->tid = perf_thread_map__pid(evlist->core.threads, thread); in perf_evlist__set_sid_idx() 439 sid->tid = -1; in perf_evlist__set_sid_idx() 445 struct perf_sample_id *sid; in perf_evlist__id2sid() local 451 hlist_for_each_entry(sid, head, node) in perf_evlist__id2sid() 452 if (sid->id == id) in perf_evlist__id2sid() 453 return sid; in perf_evlist__id2sid() [all …]
|
D | session.c | 1326 struct perf_sample_id *sid = perf_evlist__id2sid(evlist, v->id); in deliver_sample_value() local 1329 if (sid) { in deliver_sample_value() 1331 sample->period = v->value - sid->period; in deliver_sample_value() 1332 sid->period = v->value; in deliver_sample_value() 1335 if (!sid || sid->evsel == NULL) { in deliver_sample_value() 1347 evsel = container_of(sid->evsel, struct evsel, core); in deliver_sample_value() 2426 struct perf_sample_id *sid; in perf_event__process_id_index() local 2435 sid = perf_evlist__id2sid(evlist, e->id); in perf_event__process_id_index() 2436 if (!sid) in perf_event__process_id_index() 2438 sid->idx = e->idx; in perf_event__process_id_index() [all …]
|
D | synthetic-events.c | 1433 struct perf_sample_id *sid; in perf_event__synthesize_id_index() local 1447 sid = perf_evlist__id2sid(evlist, e->id); in perf_event__synthesize_id_index() 1448 if (!sid) { in perf_event__synthesize_id_index() 1453 e->idx = sid->idx; in perf_event__synthesize_id_index() 1454 e->cpu = sid->cpu; in perf_event__synthesize_id_index() 1455 e->tid = sid->tid; in perf_event__synthesize_id_index()
|
/tools/thermal/tmon/ |
D | tmon.c | 347 pid_t sid, pid = fork(); in start_daemon_mode() local 361 sid = setsid(); in start_daemon_mode() 362 if (sid < 0) in start_daemon_mode()
|
/tools/testing/radix-tree/ |
D | idr-test.c | 184 int sid = 0; in idr_u32_test1() local 193 ptr = idr_get_next(idr, &sid); in idr_u32_test1() 196 BUG_ON(sid != 0); in idr_u32_test1() 199 BUG_ON(sid != id); in idr_u32_test1()
|
/tools/perf/ |
D | builtin-stat.c | 244 struct perf_sample_id *sid = SID(counter, cpu, thread); in perf_evsel__write_stat_event() local 246 return perf_event__synthesize_stat(NULL, cpu, thread, sid->id, count, in perf_evsel__write_stat_event()
|