uot;)
> Signed-off-by: Aapo Vienamo
Acked-by: Adrian Hunter
> ---
> drivers/mmc/host/sdhci-tegra.c | 17 -
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
> index ddf0
On 17/07/18 12:14, Chunyan Zhang wrote:
> Hi,
>
> On 17 July 2018 at 16:29, Adrian Hunter wrote:
>> On 09/07/18 06:19, Chunyan Zhang wrote:
>>> When Host Version 4 is enabled, SDMA System Address register is
>>> re-defined as 32-bit Block Count, and SDMA uses
On 09/07/18 06:19, Chunyan Zhang wrote:
> As SD Host Controller Specification v4.10 documents:
> Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode.
> Selection of Auto CMD depends on setting of CMD23 Enable in the Host
> Control 2 register which indicates whether card supports C
On 09/07/18 06:19, Chunyan Zhang wrote:
> From: Chunyan Zhang
>
> This patch adds the initial support of Secure Digital Host Controller
> Interface compliant controller found in some latest Spreadtrum chipsets.
> This patch has been tested on the version of SPRD-R11 controller.
>
> R11 is a vari
On 18/07/18 10:24, Chunyan Zhang wrote:
> On 17 July 2018 at 19:52, Adrian Hunter wrote:
>> On 09/07/18 06:19, Chunyan Zhang wrote:
>>> From: Chunyan Zhang
>>>
>>> This patch adds the initial support of Secure Digital Host Controller
>>> Interf
On 2/08/24 12:25, Peter Zijlstra wrote:
> On Thu, Aug 01, 2024 at 02:13:41PM -0700, Andrii Nakryiko wrote:
>
>> Ok, this bisected to:
>>
>> 675ad74989c2 ("perf/core: Add aux_pause, aux_resume, aux_start_paused")
>
> Adrian, there are at least two obvious bugs there:
>
> - aux_action was key's o
On 2/08/24 14:02, Adrian Hunter wrote:
> On 2/08/24 12:25, Peter Zijlstra wrote:
>> On Thu, Aug 01, 2024 at 02:13:41PM -0700, Andrii Nakryiko wrote:
>>
>>> Ok, this bisected to:
>>>
>>> 675ad74989c2 ("perf/core: Add aux_pause, aux_resume, aux_star
ix does not conflict with "Mediated Passthrough vPMU", it
is just that "Mediated Passthrough vPMU" will make the code to stop and
restart Intel PT unnecessary.
Adrian Hunter (3):
KVM: x86: Fix Intel PT IA32_RTIT_CTL MSR validation
KVM: x86: Fix Intel PT Host/Gue
;)
Cc: sta...@vger.kernel.org
Signed-off-by: Adrian Hunter
---
arch/x86/kvm/vmx/vmx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index f18c2d8c7476..3f1e3be552c0 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
uest
mode. That also fixes the issue whereby the Intel PT NMI handler would
set IA32_RTIT_CTL.TraceEn back to 1 after KVM has just set it to 0.
Fixes: 2ef444f1600b ("KVM: x86: Add Intel PT context switch for each vcpu")
Cc: sta...@vger.kernel.org
Signed-off-by: Adrian Hunter
---
arch/x8
Add a test that starts Intel PT traces on host and guest. The test requires
support for Intel PT and having Host/Guest mode enabled i.e. kvm_intel
module parameter pt_mode=1.
Signed-off-by: Adrian Hunter
---
tools/testing/selftests/kvm/Makefile | 1 +
.../selftests/kvm/include/x86_64
way, verify that The cache function is
> turned ON before doing so.
>
> fixes: 1e8e55b67030 (mmc: block: Add CQE support)
>
> Reported-by: Brendan Peter
> Tested-by: Brendan Peter
> Signed-off-by: Avri Altman
Acked-by: Adrian Hunter
> ---
> drivers/mmc/core/bloc
gt; callback pointer "itr->parse_snapshot_options" is dereferenced without
> performing NULL check.
>
> Add a NULL check for the pointer "itr->parse_snapshot_options" before
> invoke the callback.
>
> Fixes: d20031bb63dd ("perf tools: Add AUX area tracing Snapshot Mode&
:3
> #11 0x7f137ab6fbbc in __libc_start_main (/lib64/libc.so.6+0x38bbc)
> #12 0x561532596828 in _start ...
>
> SUMMARY: UndefinedBehaviorSanitizer: misaligned-pointer-use
> util/synthetic-events.c:1539:4 in
>
> Fixes: 045f8cd8542d ("perf tests: Add a sample parsing
g as the struct mmc_host has a valid pointer to a
> struct mmc_card, the corresponding host->bus_ops pointer stays valid and
> assigned.
>
> For these reasons, let's drop the superfluous reference counting and the
> redundant validations in mmc_hw|sw_reset().
>
> Sign
me point have become superfluous. As this is an old mechanism
> of the mmc core, it a bit difficult to digest the history of when that
> could have happened. However, let's drop the reference counting to avoid
> unnecessary code-paths and lockings.
>
> Cc:
On 17/02/21 7:22 am, DooHyun Hwang wrote:
> This makes to handle read errors faster by not retrying
> multiple block read(CMD18) errors with single block reads(CMD17).
>
> On some bad SD Cards that have problem with read operations,
> it is not helpful to retry multiple block read errors with
> se
On 17/02/21 7:46 am, Adrian Hunter wrote:
> On 17/02/21 7:22 am, DooHyun Hwang wrote:
>> This makes to handle read errors faster by not retrying
>> multiple block read(CMD18) errors with single block reads(CMD17).
>>
>> On some bad SD Cards that have problem with re
On 7/04/21 9:08 pm, Asutosh Das wrote:
> During runtime-suspend of ufs host, the scsi devices are
> already suspended and so are the queues associated with them.
> But the ufs host sends SSU (START_STOP_UNIT) to wlun
> during its runtime-suspend.
> During the process blk_queue_enter checks if the q
On 09/12/14 15:24, Arnaldo Carvalho de Melo wrote:
> Em Wed, Nov 26, 2014 at 03:11:16PM +0200, Adrian Hunter escreveu:
>> On 25/11/14 18:57, Jiri Olsa wrote:
>>> On Thu, Nov 20, 2014 at 03:23:08PM +0200, Adrian Hunter wrote:
>>>
>>> SNIP
>>>
>&g
On 01/01/15 19:50, Rickard Strandqvist wrote:
> Remove the function perf_session__peek_event() that is not used anywhere.
>
> This was partially found by using a static code analysis program called
> cppcheck.
>
> Signed-off-by: Rickard Strandqvist
> ---
It was added in preparation for Intel P
On 02/01/15 23:03, Rickard Strandqvist wrote:
> Removes some functions that are not used anywhere:
> dso__data_size() dso__data_status_seen()
>
> This was partially found by using a static code analysis program called
> cppcheck.
>
> Signed-off-by: Rickard Strandqvist
> ---
Please do not remov
On 27/12/14 07:28, Namhyung Kim wrote:
> Hi David,
>
> On Sat, Dec 27, 2014 at 1:27 AM, David Ahern wrote:
>> On 12/24/14 12:14 AM, Namhyung Kim wrote:
>>>
>>> Prepend a software dummy event into evlist to track task/comm/mmap
>>> events separately. This is a preparation of multi-file/thread sup
ing event. The size is fixed
> to 128KiB (+ 1 page) as the event rate will be lower than samples. I
> originally wanted to use a single mmap for this but cross-cpu sharing
> is prohibited so it's per-cpu (or per-task) like normal mmaps.
>
> Cc: Adrian Hunter
> Signed-off
On 30/12/14 07:51, Namhyung Kim wrote:
> Hi Adrian,
>
> On Mon, Dec 29, 2014 at 02:58:12PM +0200, Adrian Hunter wrote:
>> On 27/12/14 07:28, Namhyung Kim wrote:
>>> Hi David,
>>>
>>> On Sat, Dec 27, 2014 at 1:27 AM, David Ahern wrote:
>
On 06/01/15 20:05, Rickard Strandqvist wrote:
> 2015-01-05 8:24 GMT+01:00 Adrian Hunter :
>> On 02/01/15 23:03, Rickard Strandqvist wrote:
>>> Removes some functions that are not used anywhere:
>>> dso__data_size() dso__data_status_seen()
>>>
>>> Th
ace".
The first implementation will support Intel BTS and
Intel PT.
One itrace buffer is mmapped per perf-events buffer.
If the requested itrace buffer size is zero, which
it will be until further support is added, then
no itrace mmapping is attempted.
Signed-off-by: Adrian Hunter
---
tools/perf
Add a feature to indicate that a perf.data file
contains Instruction Tracing data.
Signed-off-by: Adrian Hunter
---
tools/perf/util/header.c | 14 ++
tools/perf/util/header.h | 1 +
2 files changed, 15 insertions(+)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
erf session: Add hooks to allow transparent decoding of Instruction
Tracing data
Adrian Hunter (23):
perf header: Add Instruction Tracing feature
perf evlist: Add initial support for mmapping an Instruction Trace buffer
perf tools: Add user events for Instruction Tracing
pe
Add support for decoding an Instruction Trace.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-script.txt | 28
tools/perf/builtin-script.c | 11 +++
2 files changed, 39 insertions(+)
diff --git a/tools/perf/Documentation/perf
Add build option NO_ITRACE to exclude compiling support
for Instruction Tracing. Support for both recording and
processing is excluded and by implication any future
additions such as Intel PT and Intel BTS will also not
be compiled in with this option.
Signed-off-by: Adrian Hunter
---
tools
Errors encountered when decoding an Instruction
Trace need to be reported to the user. However
the "user" might be a script or another tool,
so provide a new user event to capture those
errors.
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.c | 1 +
tools/perf/util/even
eliver synthesized events into the
event stream using perf_session__deliver_synth_event().
Note the expectation is that decoding will work on data that is
time-ordered with respect to the per-cpu or per-thread contexts
that were recorded.
Signed-off-by: Adrian Hunter
---
tools/perf/util/itrace.h
.
Signed-off-by: Adrian Hunter
---
tools/perf/perf.h| 2 +
tools/perf/util/itrace.c | 196 +++
tools/perf/util/itrace.h | 59 +-
tools/perf/util/record.c | 11 ++-
4 files changed, 266 insertions(+), 2 deletions(-)
diff --git a
Add support for decoding an Instruction Trace.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-report.txt | 28
tools/perf/builtin-report.c | 12
2 files changed, 40 insertions(+)
diff --git a/tools/perf/Documentation/perf
We need to include all buildids when a perf.data
file contains Instruction Tracing data because we
do not decode the trace for that purpose because
it would take too long.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-buildid-list.c | 9 +
tools/perf/builtin-inject.c | 8
New Instruction Tracing events must be re-piped by default.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-inject.c | 63 +
1 file changed, 58 insertions(+), 5 deletions(-)
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
session reads the index
but does not process it. An Instruction Trace
decoder can queue all the Instruction Trace data
in advance using itrace_queues__process_index()
or otherwise process the index in some custom
manner.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-inject.c | 15
Add support for decoding an Instruction Trace. The
Instruction Tracing events are stripped and replaced
by synthesized events.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-inject.txt | 27
tools/perf/builtin-inject.c | 71
If a file contains Instruction Tracing data then always allow
fields 'addr' and 'cpu' to be selected as options for perf
script. This is necessary because Instruction Trace decoding
may synthesize events with that information.
Signed-off-by: Adrian Hunter
---
tools/perf/b
Decoding Instruction Trace data may involve walking object
code. Rather than repetitively decoding the same instructions,
a cache can be used to cache the results.
Signed-off-by: Adrian Hunter
---
tools/perf/util/itrace.c | 123 +++
tools/perf/util
Add a member to struct dso that can be used by Instruction
Trace implementations to hold a cache for decoded instructions.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 2 ++
tools/perf/util/dso.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/tools/perf/util/dso.c b/tools
Provide hooks so that an Instruction Trace
decoder can process Instruction Tracing
events.
Signed-off-by: Adrian Hunter
---
tools/perf/util/itrace.c | 49
tools/perf/util/itrace.h | 13 +
2 files changed, 62 insertions(+)
diff --git
-by: Adrian Hunter
---
tools/perf/util/itrace.c | 85
tools/perf/util/itrace.h | 29 +
2 files changed, 114 insertions(+)
diff --git a/tools/perf/util/itrace.c b/tools/perf/util/itrace.c
index 4b0439b..e9c46fc 100644
--- a/tools
per-cpu or per-thread contexts, the
data is time-ordered with respect to those contexts.
Signed-off-by: Adrian Hunter
---
tools/perf/util/itrace.c | 304 +++
tools/perf/util/itrace.h | 87 ++
2 files changed, 391 insertions(+)
diff --git a
Add functions to synthesize, count and print
Instruction Tracing error events.
Signed-off-by: Adrian Hunter
---
tools/perf/util/itrace.c | 55
tools/perf/util/itrace.h | 16 ++
2 files changed, 71 insertions(+)
diff --git a/tools
It is assumed that Instruction Trace decoding will
synthesize events for consumption by other tools.
The nature of Instruction Tracing suggests the
initial inclusion of options for "instructions"
and "branches" events, but more could be added
as needed.
Signed-off-by: Adria
Amend the perf record tool to read the
Instruction Tracing mmap and synthesize
Instruction Tracing events.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-record.c | 99 +++--
1 file changed, 86 insertions(+), 13 deletions(-)
diff --git a/tools/perf
Extend the -m option so that the number
of mmap pages for Instruction Tracing
can be specified.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-record.txt | 2 ++
tools/perf/builtin-record.c | 49 ++--
tools/perf/util/evlist.c
Instruction
Tracing data copied from the mmapped
Instruction Tracing region. The actual
data is not part of the event but
immediately follows it.
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.c | 2 ++
tools/perf/util/event.h | 22 +++
tools/perf/util/session.c | 69
On 09/01/15 16:13, Peter Zijlstra wrote:
> On Fri, Jan 09, 2015 at 03:12:48PM +0100, Peter Zijlstra wrote:
>> On Fri, Nov 14, 2014 at 03:43:47PM +0200, Alexander Shishkin wrote:
>>> +++ b/include/uapi/linux/perf_event.h
>>> @@ -750,6 +750,17 @@ enum perf_event_type {
>>> */
>>> PERF_RECORD
On 06/11/14 18:51, Pawel Moll wrote:
> Until now, perf framework never defined the meaning of the timestamps
> captured as PERF_SAMPLE_TIME sample type. The values were obtaining
> from local (sched) clock, which is unavailable in userspace. This made
> it impossible to correlate perf data with any
On 01/04/15 19:52, Jiri Olsa wrote:
> On Wed, Apr 01, 2015 at 06:26:38PM +0200, Peter Zijlstra wrote:
>>
>> With some feedback from Jolsa, who showed me how to trigger the actual
>> outputs.
>
> adding Adrian to CC as he's the original author AFAIK
I wanted a compact format, and the omission of n
On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote:
> Hi David, Jiri,
>
> Please take a look if it is ok for you guys
>
> Adrian, there is another thing:
>
> db_export__sample(&tables->dbe, event, sample, evsel, al->thread, al);
>
> In tools/perf/util/scripting-engines/trace-event-python
On 02/04/15 14:59, Peter Zijlstra wrote:
> On Thu, Apr 02, 2015 at 12:01:53PM +0300, Adrian Hunter wrote:
>> But personally I think the "include" approach is too ugly. I would just
>> add a function instead. Something like:
>
> You've not stared at the kerne
On 1/04/2015 10:59 p.m., Len Brown wrote:
Ad hoc testing with Lenovo Thinkpad 10 showed a stress
test could run for at least 24 hours with the patches,
compared to less than an hour without.
There is a patch in linux-next to delete C1E from BYT,
since it is problematic on multiple platforms.
I
On 2/04/2015 5:15 p.m., Arnaldo Carvalho de Melo wrote:
Em Thu, Apr 02, 2015 at 12:16:40PM +0300, Adrian Hunter escreveu:
On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote:
Hi David, Jiri,
Please take a look if it is ok for you guys
Adrian, there is another thing
the case of !map->dso->kernel, kmap(map)
>> is not exists at all). Also, introduces map__kmaps() to warn
>> uninitialized kmaps.
>
> looks ok, CC-ing Adrian
Look Ok to me too
Acked-by: Adrian Hunter
--
To unsubscribe from this list: send the line "unsubscrib
On 21/04/15 17:50, Arnaldo Carvalho de Melo wrote:
> Em Thu, Apr 09, 2015 at 06:53:49PM +0300, Adrian Hunter escreveu:
>
>> It is assumed that AUX area decoding will synthesize events for
>> consumption by other tools. At this time, the main use of AUX area
>> tr
On 23/04/15 17:30, Arnaldo Carvalho de Melo wrote:
> Em Tue, Mar 31, 2015 at 02:38:29PM +0300, Adrian Hunter escreveu:
>> Hi
>>
>> Here is V7 of some more preparatory patches for Intel PT
>> that introduce an abstraction for using the AUX area and
>> Instruction tr
On 24/03/15 13:07, Jiri Olsa wrote:
> On Mon, Mar 16, 2015 at 02:41:24PM +0200, Adrian Hunter wrote:
>
> SNIP
>
>> index 8d0b623..3cc7815 100644
>> --- a/tools/perf/util/evlist.c
>> +++ b/tools/perf/util/evlist.c
>> @@ -725,6 +725,34 @@ void perf_evl
Add a feature to indicate that a perf.data file
contains AUX area data.
Signed-off-by: Adrian Hunter
---
tools/perf/util/header.c | 14 ++
tools/perf/util/header.h | 1 +
2 files changed, 15 insertions(+)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index
ording
perf record: Add basic AUX area tracing support
Processing consists of providing hooks in session processing
to enable a decoder to see all the events and deliver synthesized
events transparently into the event stream. The main processing
patch is:
perf session: Add hooks to
Decoding AUX area data may involve walking object
code. Rather than repetitively decoding the same
instructions, a cache can be used to cache the results.
This patch implements a fairly generic hashtable
with a 32-bit key that could be used for other
purposes as well.
Signed-off-by: Adrian
: branches:u: bA 401071 f => 40116a main
1288.722285883: branches:u: bE 40116a main =>0
[unknown]
1288.722297174: branches:u: bB 0 [unknown] =>
40116a main
...
Signed-off-by: Adrian Hunter
---
tools/perf
We need to include all buildids when a perf.data
file contains AUX area tracing data because we
do not decode the trace for that purpose because
it would take too long.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-buildid-list.c | 9 +
tools/perf/builtin-inject.c | 8
Add support for decoding an AUX area assuming
it contains instruction tracing data.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-report.txt | 28
tools/perf/builtin-report.c | 11 +++
2 files changed, 39 insertions(+)
diff
reads the index
but does not process it. An AUX area
decoder can queue all the AUX area data
in advance using auxtrace_queues__process_index()
or otherwise process the index in some custom
manner.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-inject.c | 15 +++
tools/perf/builtin-record.c
Add build option NO_AUXTRACE to exclude compiling support
for AUX area tracing. Support for both recording and
processing is excluded and by implication any future
additions such as Intel PT and Intel BTS will also not
be compiled in with this option.
Signed-off-by: Adrian Hunter
---
tools/perf
Add AUX area tracing option 'x' to synthesize events for
transactions. This will be used by Intel PT to synthesize
an event record for each TSX start, commit or abort.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-report.txt | 9 +
tools/perf/Document
Add functions to synthesize, count and print
AUX area tracing error events.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.c | 81 ++
tools/perf/util/auxtrace.h | 14
tools/perf/util/event.h| 6
tools/perf/util/session.c
If a file contains AUX area tracing data then always allow
fields 'addr' and 'cpu' to be selected as options for perf
script. This is necessary because AUX area decoding
may synthesize events with that information.
Signed-off-by: Adrian Hunter
---
tools/perf/b
tions"
and "branches" events, but more could be added
as needed.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.c | 131 +
tools/perf/util/auxtrace.h | 43 +++
tools/perf/util/session.h | 2 +
3 files cha
Add support for decoding an AUX area assuming
it contains instruction tracing data. The
AUX area tracing events are stripped and replaced
by synthesized events.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-inject.txt | 27
tools/perf/builtin-inject.c
New AUX area tracing events must be re-piped by default.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-inject.c | 63 +
1 file changed, 58 insertions(+), 5 deletions(-)
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
Amend the perf record tool to read the
AUX area tracing mmap and synthesize
AUX area tracing events.
Signed-off-by: Adrian Hunter
---
tools/perf/builtin-record.c | 81 ++---
1 file changed, 77 insertions(+), 4 deletions(-)
diff --git a/tools/perf/builtin
-off-by: Adrian Hunter
---
tools/perf/perf.h | 2 +
tools/perf/util/auxtrace.c | 176 +
tools/perf/util/auxtrace.h | 56 ++-
tools/perf/util/record.c | 11 ++-
4 files changed, 243 insertions(+), 2 deletions(-)
diff --git a
Add a member to struct dso that can be used by Instruction
Trace implementations to hold a cache for decoded instructions.
Signed-off-by: Adrian Hunter
---
tools/perf/util/dso.c | 2 ++
tools/perf/util/dso.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/tools/perf/util/dso.c b/tools
Add support for decoding an AUX area assuming
it contains instruction tracing data.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-script.txt | 28
tools/perf/builtin-script.c | 11 +++
2 files changed, 39 insertions(+)
diff
Errors encountered when decoding an AUX area
trace need to be reported to the user. However
the "user" might be a script or another tool,
so provide a new user event to capture those
errors.
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.c | 1 +
tools/perf/util/even
Extend the -m option so that the number
of mmap pages for AUX area tracing
can be specified by adding a comma followed
by the number of pages.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-record.txt | 2 ++
tools/perf/builtin-record.c | 49
Provide hooks so that an AUX area
decoder can process AUX area tracing
events.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.c | 52 +-
tools/perf/util/auxtrace.h | 13
2 files changed, 64 insertions(+), 1 deletion(-)
diff
per-thread contexts, the
data is time-ordered with respect to those contexts.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.c | 305 +
tools/perf/util/auxtrace.h | 87 +
2 files changed, 392 insertions(+)
diff --git a/tools/perf
esized events into the
event stream using perf_session__deliver_synth_event().
Note the expectation is that decoding will work on data that is
time-ordered with respect to the per-cpu or per-thread contexts
that were recorded.
Signed-off-by: Adrian Hunter
---
tools/perf/util/auxtrace.
area
tracing data copied from the mmapped
AUX area tracing region. The actual
data is not part of the event but
immediately follows it.
Signed-off-by: Adrian Hunter
---
tools/perf/util/event.c | 2 ++
tools/perf/util/event.h | 22 +++
tools/perf/util/session.c | 69
: Adrian Hunter
---
tools/perf/util/auxtrace.c | 85 ++
tools/perf/util/auxtrace.h | 29
2 files changed, 114 insertions(+)
diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c
index afcb09d..215f38e 100644
--- a/tools
l PT.
One auxtrace buffer is mmapped per perf-events buffer.
If the requested auxtrace buffer size is zero, which
it will be until further support is added, then
no auxtrace mmapping is attempted.
Signed-off-by: Adrian Hunter
---
tools/perf/util/Build | 1 +
tools/perf/util/auxtra
On 31/03/15 01:19, Stephane Eranian wrote:
> This patch adds a --jit option to perf inject.
>
> This options injects MMAP records into the perf.data
> file to cover the jitted code mmaps. It also emits
> ELF images for each function in the jidump file.
> Those images are created where the jitdump
On 01/04/15 14:57, Jiri Olsa wrote:
> On Tue, Mar 31, 2015 at 02:38:29PM +0300, Adrian Hunter wrote:
>
> SNIP
>
>>
>> Changes in V7:
>>
>> Changes requested by Jiri:
>>
>> perf evlist: Add initial support for mmapping an AUX area buffer
&
If a file contains AUX area tracing data then always allow
fields 'addr' and 'cpu' to be selected as options for perf
script. This is necessary because AUX area decoding
may synthesize events with that information.
Signed-off-by: Adrian Hunter
---
tools/perf/b
Add support for making snapshots of
AUX area tracing data.
Signed-off-by: Adrian Hunter
---
tools/perf/perf.h | 3 ++
tools/perf/util/auxtrace.c | 85 --
tools/perf/util/auxtrace.h | 41 ++
3 files changed, 119 insertions
The enhanced thread stack is used by higher layers but still
requires the trace number. The trace number is used to
distinguish discontinuous sections of trace (for example
from Snapshot mode or Sample mode), which cause the thread
stack to be flushed.
Signed-off-by: Adrian Hunter
---
tools
. Also
some brief documentation is provided for
using the tools with intel_pt.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/intel-pt.txt | 467 ++
tools/perf/arch/x86/util/Build| 2 +
tools/perf/arch/x86/util/auxtrace.c | 38 +++
tools/perf
Add a facility to log Intel Processor Trace
decoding. The log is intended for debugging
purposes only.
The log file name is "intel_pt.log" and is
opened in the current directory.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt-decoder/Build | 2 +-
tools/perf/
Add a new option and support for Instruction
Tracing Snapshot Mode. When the new option is
selected, no AUX area tracing data is
captured until a signal (SIGUSR2) is received.
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/perf-record.txt | 7 ++
tools/perf/builtin-record.c
intel_bts synthesizes samples. Fill in the new flags and
insn_len members with instruction information.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-bts.c | 127 ++--
1 file changed, 123 insertions(+), 4 deletions(-)
diff --git a/tools/perf
The enhanced thread stack is used by higher layers but still
requires the trace number. The trace number is used to
distinguish discontinuous sections of trace (for example
from Snapshot mode or Sample mode), which cause the thread
stack to be flushed.
Signed-off-by: Adrian Hunter
---
tools
intel_pt synthesizes samples. Fill in the new flags and
insn_len members with instruction information.
Signed-off-by: Adrian Hunter
---
tools/perf/util/intel-pt.c | 4
1 file changed, 4 insertions(+)
diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c
index 8ba4ce7
Signed-off-by: Adrian Hunter
---
.../scripts/python/call-graph-from-postgresql.py | 285 +
1 file changed, 285 insertions(+)
create mode 100644 tools/perf/scripts/python/call-graph-from-postgresql.py
diff --git a/tools/perf/scripts/python/call-graph-from-postgresql.py
b
Signed-off-by: Adrian Hunter
---
tools/perf/Documentation/intel-bts.txt | 69 +++
tools/perf/arch/x86/util/Build | 1 +
tools/perf/arch/x86/util/auxtrace.c| 49 +-
tools/perf/arch/x86/util/intel-bts.c | 458 +++
tools/perf/util/Build | 1
901 - 1000 of 4288 matches
Mail list logo