Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455992

Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe events

From Aravinda Prasad <aravinda@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe events
Date 2016-08-03 21:40 +0200
Message-ID <s2abg-6TC-17@gated-at.bofh.it> (permalink)
References <rZEyR-4Oy-5@gated-at.bofh.it> <rZEyR-4Oy-3@gated-at.bofh.it> <s1tfY-3At-19@gated-at.bofh.it> <s1LPz-7DB-23@gated-at.bofh.it> <s1MiF-84F-127@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Tuesday 02 August 2016 11:19 PM, Steven Rostedt wrote:
> On Tue, 2 Aug 2016 22:57:30 +0530
> Hari Bathini <hbathini@linux.vnet.ibm.com> wrote:
> 
>> where a mountable instance is more than a trace array.
>> This may need addition of new flags for trace array saying
>> whether it is a global trace or directory instance or mountable instance.
>> Also, the helper functions that add/remove events need to be tweaked 
>> accordingly.
> 
> BTW, I'm curious to how you handle the rest of the trace files in a
> container? The tracing system really looks at the Linux kernel as a
> whole, and for the most part ignores things like name spaces.

We started by trying to support perf inside a container and currently we
are exploring approaches to support function tracing inside a container.

One approach that we are thinking/working is on the lines of patch 1/3.
For example, filtering events based on the namespace in which the trace
file is read. We are trying to understand the ftrace implementation and
hence not sure if this is feasible.

We would be happy to explore if you have any suggestions/feedback on
supporting function tracing inside a container.

> 
> Can a container have its own function tracing?

Sorry, I didn't understand that. Do you mean to have a separate
per-container trace files?

Regards,
Aravinda

> 
> -- Steve
> 

-- 
Regards,
Aravinda

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH v2 2/3] tracefs: add instances support for uprobe events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2016-07-27 23:30 +0200
  Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Steven Rostedt <rostedt@goodmis.org> - 2016-08-01 23:50 +0200
    Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2016-08-02 19:40 +0200
      Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Steven Rostedt <rostedt@goodmis.org> - 2016-08-02 20:10 +0200
        Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Aravinda Prasad <aravinda@linux.vnet.ibm.com> - 2016-08-03 21:40 +0200
          Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Steven Rostedt <rostedt@goodmis.org> - 2016-08-03 22:20 +0200
            Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Aravinda Prasad <aravinda@linux.vnet.ibm.com> - 2016-08-03 22:20 +0200
              Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Steven Rostedt <rostedt@goodmis.org> - 2016-08-04 03:10 +0200
                Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Aravinda Prasad <aravinda@linux.vnet.ibm.com> - 2016-08-04 15:50 +0200
                Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Steven Rostedt <rostedt@goodmis.org> - 2016-08-04 16:20 +0200
                Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Aravinda Prasad <aravinda@linux.vnet.ibm.com> - 2016-08-04 16:40 +0200
      Re: [RFC PATCH v2 2/3] tracefs: add instances support for uprobe  events Hari Bathini <hbathini@linux.vnet.ibm.com> - 2016-08-02 20:40 +0200

csiph-web