lkml.org 
[lkml]   [2013]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/3] Support for perf to probe into SDT markers:
On 10/29/2013 11:55 AM, Hemant Kumar wrote:
> 1. Where this cache should be? Keeping it in tracing directory inside
> the debugfs
> directory should seem more feasible. And, shall this cache be shareable?

You can't share all of the cache because otherwise you'll expose details
on binaries that not everyone has access to.

It might make sense to split the cache into two parts: system markers
and user markers and share the former.

> 2. perf record is a performance intensive process, can we allow the
> delay due to
> this searching process here?

I think scanning is OK if the user specified a SDT markers but not
otherwise.

Perhaps you can use a bloom filter to quickly check if the user passed a
SDT marker or not.

Pekka


\
 
 \ /
  Last update: 2013-10-29 15:21    [W:0.073 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site