lkml.org 
[lkml]   [2015]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 2/4] perf: Add function to enable perf events in kernel with ring buffer
Date
Takao Indoh <indou.takao@jp.fujitsu.com> writes:

> On 2015/09/08 18:32, Alexander Shishkin wrote:
>> Takao Indoh <indou.takao@jp.fujitsu.com> writes:
>>
>>> perf_event_create_kernel_counter is used to enable perf events in kernel
>>> without buffer for logging its events. This patch add new fucntion which
>>> enable perf events with ring buffer. Intel PT logger uses this to enable
>>> Intel PT and some associated events with its log buffer.
>>
>> Have you seen [1] and related patches? I haven't gotten around to
>> updating them yet, but hopefully it's going to happen soon.
>>
>> The problem is that for such api to work, this memory needs to be
>> accounted, especially when you start handling event inheritance. For
>> system crash dump it doesn't really matter, but I also need a similar
>> api for per-task core dumps, for example.
>
> I have not seen this, I'll check it. You or someone else are working on
> api for process core dump?

Yes, I am. I'll make sure to include you in the next round of patches.

Regards,
--
Alex


\
 
 \ /
  Last update: 2015-09-15 14:21    [W:0.047 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site