Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Devlist.c538 struct perf_sample_id *sid = SID(evsel, cpu, thread); in perf_evlist__id_hash() local
540 sid->id = id; in perf_evlist__id_hash()
541 sid->evsel = evsel; in perf_evlist__id_hash()
542 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash()
543 hlist_add_head(&sid->node, &evlist->heads[hash]); in perf_evlist__id_hash()
598 struct perf_sample_id *sid = SID(evsel, cpu, thread); in perf_evlist__set_sid_idx() local
599 sid->idx = idx; in perf_evlist__set_sid_idx()
601 sid->cpu = evlist->cpus->map[cpu]; in perf_evlist__set_sid_idx()
603 sid->cpu = -1; in perf_evlist__set_sid_idx()
605 sid->tid = thread_map__pid(evlist->threads, thread); in perf_evlist__set_sid_idx()
[all …]
Dsession.c1000 struct perf_sample_id *sid = perf_evlist__id2sid(evlist, v->id); in deliver_sample_value() local
1002 if (sid) { in deliver_sample_value()
1004 sample->period = v->value - sid->period; in deliver_sample_value()
1005 sid->period = v->value; in deliver_sample_value()
1008 if (!sid || sid->evsel == NULL) { in deliver_sample_value()
1013 return tool->sample(tool, event, sample, sid->evsel, machine); in deliver_sample_value()
2011 struct perf_sample_id *sid; in perf_event__process_id_index() local
2020 sid = perf_evlist__id2sid(evlist, e->id); in perf_event__process_id_index()
2021 if (!sid) in perf_event__process_id_index()
2023 sid->idx = e->idx; in perf_event__process_id_index()
[all …]
/tools/thermal/tmon/
Dtmon.c356 pid_t sid, pid = fork(); in start_daemon_mode() local
370 sid = setsid(); in start_daemon_mode()
371 if (sid < 0) in start_daemon_mode()