From: Alexander Shishkin <alexander.shishkin@linux.intel.com>
To: Takao Indoh <indou.takao@jp.fujitsu.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Vivek Goyal <vgoyal@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH v2 2/4] perf: Add function to enable perf events in kernel with ring buffer
Date: Tue, 08 Sep 2015 12:32:36 +0300 [thread overview]
Message-ID: <87r3m9fe8b.fsf@ashishki-desk.ger.corp.intel.com> (raw)
In-Reply-To: <1441691364-5612-3-git-send-email-indou.takao@jp.fujitsu.com>
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.
[1] https://lkml.org/lkml/2014/10/13/290
Thanks,
--
Alex
next prev parent reply other threads:[~2015-09-08 9:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 5:49 [PATCH v2 0/4] x86: Intel Processor Trace Logger Takao Indoh
2015-09-08 5:49 ` [PATCH v2 1/4] perf/trace: Add function to find event type by name Takao Indoh
2015-09-08 5:49 ` [PATCH v2 2/4] perf: Add function to enable perf events in kernel with ring buffer Takao Indoh
2015-09-08 9:32 ` Alexander Shishkin [this message]
2015-09-09 2:10 ` Takao Indoh
2015-09-15 12:00 ` Alexander Shishkin
2015-09-08 5:49 ` [PATCH v2 3/4] perf/x86/intel/pt: Add Intel PT logger Takao Indoh
2015-09-08 9:48 ` Alexander Shishkin
2015-09-09 2:40 ` Takao Indoh
2015-09-15 12:01 ` Alexander Shishkin
2015-09-08 5:49 ` [PATCH v2 4/4] x86: Stop Intel PT and save its registers when panic occurs Takao Indoh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3m9fe8b.fsf@ashishki-desk.ger.corp.intel.com \
--to=alexander.shishkin@linux.intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=hpa@zytor.com \
--cc=indou.takao@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=vgoyal@redhat.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®