|
@@ -1007,17 +1007,12 @@ static int latency_wakeup_event(struct perf_sched *sched,
|
|
|
struct perf_sample *sample,
|
|
|
struct machine *machine)
|
|
|
{
|
|
|
- const u32 pid = perf_evsel__intval(evsel, sample, "pid"),
|
|
|
- success = perf_evsel__intval(evsel, sample, "success");
|
|
|
+ const u32 pid = perf_evsel__intval(evsel, sample, "pid");
|
|
|
struct work_atoms *atoms;
|
|
|
struct work_atom *atom;
|
|
|
struct thread *wakee;
|
|
|
u64 timestamp = sample->time;
|
|
|
|
|
|
- /* Note for later, it may be interesting to observe the failing cases */
|
|
|
- if (!success)
|
|
|
- return 0;
|
|
|
-
|
|
|
wakee = machine__findnew_thread(machine, 0, pid);
|
|
|
atoms = thread_atoms_search(&sched->atom_root, wakee, &sched->cmp_pid);
|
|
|
if (!atoms) {
|