lkml.org 
[lkml]   [2012]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] perf: mark a dso if it's used
Em Mon, Aug 06, 2012 at 02:01:59PM +0400, Andrew Vagin escreveu:
> - if (inject_build_ids) {
> + if (inject_build_ids || inject_sched_stat) {
> perf_inject.sample = perf_event__inject_buildid;
> perf_inject.mmap = perf_event__repipe_mmap;
> perf_inject.fork = perf_event__repipe_task;
> perf_inject.tracing_data = perf_event__repipe_tracing_data;
> - } else if (inject_sched_stat) {
> + }
> +
> + if (inject_sched_stat) {
> perf_inject.sample = perf_event__sched_stat;
> perf_inject.ordered_samples = true;
> }

Huh? so if inject_sched_stat is true we will first set
perf_inject.sample to something, then to another?

- Arnaldo


\
 
 \ /
  Last update: 2012-08-06 21:01    [W:3.384 / U:1.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site