Lines Matching refs:from
235 * value from rdmsr() must be converted to have a 61 bits sign extension,
302 return lbr->from;
336 wrlbr_from(idx, lbr->from);
345 u64 from = rdlbr_from(idx, NULL);
348 if (!from)
351 lbr->from = from;
395 if (!entries[x86_pmu.lbr_nr - 1].from)
399 if (!entries[i].from)
406 * Restore the Architecture LBR state from the xsave area in the perf
487 entries[x86_pmu.lbr_nr - 1].from = 0;
566 * per-cpu events. You simply cannot resolve the branches from the old
600 * when this is from __perf_event_task_sched_in().
602 * However, if this is from perf_install_in_context(), no such callback
720 u32 from;
730 br->from = msr_lastbranch.from;
761 u64 from, to, mis = 0, pred = 0, in_tx = 0, abort = 0;
764 from = rdlbr_from(lbr_idx, NULL);
771 if (call_stack && !from)
791 mis = !!(from & LBR_FROM_FLAG_MISPRED);
796 in_tx = !!(from & LBR_FROM_FLAG_IN_TX);
797 abort = !!(from & LBR_FROM_FLAG_ABORT);
800 from = (u64)((((s64)from) << skip) >> skip);
820 br[out].from = from;
874 u64 from, to, info;
881 from = rdlbr_from(i, lbr);
885 if (!from)
893 e->from = from;
1043 * from the LBR_INFO. It doesn't require the high overhead
1125 u64 from, to;
1137 from = cpuc->lbr_entries[i].from;
1151 type = branch_type(from, to, cpuc->lbr_entries[i].abort);
1161 cpuc->lbr_entries[i].from = 0;
1172 /* remove all entries with from=0 */
1174 if (!cpuc->lbr_entries[i].from) {
1179 if (!cpuc->lbr_entries[i].from)
1610 lbr->from = x86_pmu.lbr_from;