lkml.org 
[lkml]   [2016]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] perf tool: add container identifier entry related changes
From
Date


On Thursday 25 August 2016 06:34 PM, Peter Zijlstra wrote:
> On Thu, Aug 25, 2016 at 05:28:03PM +0530, Hari Bathini wrote:
>> diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
>> index d9b80ef..d35fbd3 100644
>> --- a/tools/perf/util/evsel.c
>> +++ b/tools/perf/util/evsel.c
>> @@ -929,6 +929,8 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts,
>> if (opts->sample_transaction)
>> perf_evsel__set_sample_bit(evsel, TRANSACTION);
>>
>> + perf_evsel__set_sample_bit(evsel, CID);
>> +
>> if (opts->running_time) {
>> evsel->attr.read_format |=
>> PERF_FORMAT_TOTAL_TIME_ENABLED |
> Does this mean its enabled by default? Why? By growing the default
> sample to include everything under the sun we make profiling slower for
> everyone.

True. Will put it under a flag..

- Hari

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.754 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site