aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/intel-pt.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-25perf auxtrace: Add auxtrace_synth_id_range_start() helpertanze1-3/+1
2025-05-12perf intel-pt: Fix PEBS-via-PT data_srcAdrian Hunter1-3/+202
2025-02-12perf sample: Make user_regs and intr_regs optionalIan Rogers1-42/+94
2024-11-13perf tools: Fix typos Muliplier -> MultiplierAndrew Kreimer1-1/+1
2024-10-17perf color: Add printf format checking and resolve issuesIan Rogers1-1/+1
2024-08-12perf tool: Constify tool pointersIan Rogers1-3/+3
2024-08-12perf auxtrace: Remove dummy toolsIan Rogers1-23/+1
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-11/+11
2024-04-26perf intel-pt: Fix unassigned instruction op (discovered by MemorySanitizer)Adrian Hunter1-0/+2
2023-09-29perf intel-pt: Fix async branch flagsAdrian Hunter1-0/+2
2023-06-12perf intel-pt: Fix missed put and leakIan Rogers1-0/+2
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers1-21/+45
2023-06-12perf thread: Add accessor functions for threadIan Rogers1-6/+6
2023-06-12perf thread: Remove notion of dead threadsIan Rogers1-8/+0
2023-04-06perf map: Add helper for ->map_ip() and ->unmap_ip()Ian Rogers1-5/+5
2023-04-04perf map: Add accessor for start and endIan Rogers1-4/+4
2023-04-04perf map: Add accessor for dsoIan Rogers1-21/+24
2023-02-17perf intel-pt: Synthesize cycle eventsSteinar H. Gunderson1-5/+62
2023-02-01perf intel-pt: Do not try to queue auxtrace data on pipeNamhyung Kim1-0/+6
2022-12-14perf build: Use libtraceevent from the systemIan Rogers1-1/+6
2022-10-15perf intel-pt: Fix segfault in intel_pt_print_info() with uClibcAdrian Hunter1-2/+7
2022-10-04perf intel-pt: Support itrace option flag d+e to log on errorAdrian Hunter1-2/+18
2022-10-04perf intel-pt: Improve object code read error messageAdrian Hunter1-1/+2
2022-07-20perf intel-pt: Use guest pid/tid etc in guest samplesAdrian Hunter1-0/+11
2022-07-20perf intel-pt: Add machine_pid and vcpu to auxtrace_errorAdrian Hunter1-6/+20
2022-07-20perf intel-pt: Determine guest thread from guest sidebandAdrian Hunter1-2/+67
2022-07-20perf intel-pt: Disable sync switch with guest sidebandAdrian Hunter1-0/+29
2022-07-20perf intel-pt: Track guest context switchesAdrian Hunter1-0/+23
2022-07-20perf intel-pt: Add some more logging to intel_pt_walk_next_insn()Adrian Hunter1-5/+20
2022-07-20perf intel-pt: Remove guest_machine_pidAdrian Hunter1-3/+1
2022-05-23perf intel-pt: Add guest_code supportAdrian Hunter1-2/+18
2022-05-17perf intel-pt: Add support for emulated ptwriteAdrian Hunter1-1/+36
2022-02-15perf intel-pt: Force 'quick' mode when TNT (Taken/Not-Taken packet) is disabledAdrian Hunter1-0/+18
2022-02-15perf intel-pt: Synthesize new D (Intr Disabled) and t (Intr Toggle) flagsAdrian Hunter1-0/+13
2022-02-15perf intel-pt: Synthesize iflag eventAdrian Hunter1-0/+52
2022-02-15perf intel-pt: Synthesize CFE (Control Flow Event) / EVD (Event Data) eventAdrian Hunter1-0/+62
2022-02-15perf intel-pt: Record Event Trace capability flagAdrian Hunter1-1/+9
2022-02-15perf intel-pt: decoder: Add config bit definitionsAdrian Hunter1-2/+7
2021-12-28perf intel-pt: Fix parsing of VM time correlation argumentsAdrian Hunter1-0/+1
2021-12-11perf intel-pt: Fix error timestamp setting on the decoder error pathAdrian Hunter1-0/+1
2021-10-27perf intel-pt: Support itrace d+o option to direct debug log to stdoutAdrian Hunter1-2/+3
2021-10-27perf intel-pt: Support itrace A option to approximate IPCAdrian Hunter1-4/+12
2021-10-25perf intel-pt: Add support for PERF_RECORD_AUX_OUTPUT_HW_IDAdrian Hunter1-4/+81
2021-07-07perf intel-pt: Add a config for max loops without consuming a packetAdrian Hunter1-0/+5
2021-05-25Merge remote-tracking branch 'torvalds/master' into perf/coreArnaldo Carvalho de Melo1-2/+4
2021-05-19perf intel-pt: Remove redundant setting of ptq->insn_lenAdrian Hunter1-1/+0
2021-05-19perf intel-pt: Fix sample instruction bytesAdrian Hunter1-1/+4
2021-05-12perf intel-pt: Parse VM Time Correlation options and set up decodingAdrian Hunter1-1/+97
2021-05-12perf intel-pt: Pass the first timestamp to the decoderAdrian Hunter1-0/+19
2021-05-12perf intel-pt: Add a tree for VMCS informationAdrian Hunter1-0/+66
2021-05-12perf intel-pt: Let overlap detection handle VM timestampsAdrian Hunter1-1/+9
2021-05-12perf intel-pt: Support Z itrace option for timeless decodingAdrian Hunter1-1/+1
2021-05-12perf intel-pt: Move synth_opts initialization earlierAdrian Hunter1-15/+14
2021-03-23perf tools: Fix various typos in commentsIngo Molnar1-1/+1
2021-02-18perf intel-pt: Split VM-Entry and VM-Exit branchesAdrian Hunter1-1/+21
2021-02-18perf intel-pt: Adjust sample flags for VM-ExitAdrian Hunter1-4/+7
2021-02-18perf intel-pt: Allow for a guest kernel address filterAdrian Hunter1-1/+7
2021-02-18perf intel-pt: Support decoding of guest kernelAdrian Hunter1-12/+69
2021-02-18perf intel-pt: Add PSB eventsAdrian Hunter1-0/+40
2021-02-18perf intel-pt: Fix IPC with CYC thresholdAdrian Hunter1-0/+13
2021-02-18perf intel-pt: Fix premature IPCAdrian Hunter1-10/+6
2021-02-08perf report: Support instruction latencyKan Liang1-2/+3
2021-02-08perf tools: Support PERF_SAMPLE_WEIGHT_STRUCTKan Liang1-3/+19
2020-11-30perf evlist: Use the right prefix for 'struct evlist' sample id lookup methodsArnaldo Carvalho de Melo1-2/+1
2020-09-17perf intel-pt: Fix "context_switch event has no tid" errorAdrian Hunter1-4/+4
2020-09-01perf intel-pt: Fix corrupt data after perf inject fromAl Grant1-1/+8
2020-08-06perf intel-pt: Add support for decoding FUP/TIP onlyAdrian Hunter1-1/+5
2020-08-06perf intel-pt: Time filter logged perf eventsAdrian Hunter1-3/+16
2020-08-06perf intel-pt: Use itrace debug log flags to suppress some messagesAdrian Hunter1-7/+10
2020-08-06perf intel-pt: Use itrace error flags to suppress some errorsAdrian Hunter1-0/+9
2020-07-10perf script: Show text poke address symbolAdrian Hunter1-1/+1
2020-07-10perf intel-pt: Add support for text poke eventsAdrian Hunter1-0/+75
2020-07-06perf intel-pt: Fix PEBS sample for XMM registersAdrian Hunter1-2/+3
2020-05-28perf intel-pt: Use allocated branch stack for PEBS sampleAdrian Hunter1-18/+13
2020-05-05perf evsel: Rename perf_evsel__{str,int}val() and other tracepoint field mete...Arnaldo Carvalho de Melo1-1/+1
2020-05-05perf evsel: Rename *perf_evsel__*name() to *evsel__*name()Arnaldo Carvalho de Melo1-1/+1
2020-05-05perf intel-pt: Add support for synthesizing branch stacks for regular eventsAdrian Hunter1-7/+66
2020-05-05perf intel-pt: Change branch stack support to use thread-stacksAdrian Hunter1-102/+39
2020-05-05perf intel-pt: Consolidate thread-stack use conditionAdrian Hunter1-2/+6
2020-05-05perf thread-stack: Add branch stack supportAdrian Hunter1-1/+1
2020-05-05perf tools: Move routines that probe for perf API features to separate fileArnaldo Carvalho de Melo1-0/+1
2020-04-18perf callchain: Stitch LBR call stackKan Liang1-9/+8
2020-04-16perf intel-pt: Add support for synthesizing callchains for regular eventsAdrian Hunter1-7/+61
2020-04-16perf intel-pt: Implement ->evsel_is_auxtrace() callbackAdrian Hunter1-0/+10
2020-03-09perf tools: Add hw_idx in struct branch_stackKan Liang1-0/+2
2019-11-26perf maps: Merge 'struct maps' with 'struct map_groups'Arnaldo Carvalho de Melo1-1/+1
2019-11-22perf intel-pt: Add support for decoding AUX area samplesAdrian Hunter1-3/+106
2019-09-25libperf: Move 'ids' from 'struct evsel' to 'struct perf_evsel'Jiri Olsa1-1/+1
2019-09-25libperf: Move 'id' from 'struct evsel' to 'struct perf_evsel'Jiri Olsa1-4/+4
2019-09-20perf tools: Move event synthesizing routines to separate headerArnaldo Carvalho de Melo1-0/+1
2019-08-31perf debug: Remove needless include directives from debug.hArnaldo Carvalho de Melo1-0/+1
2019-08-29perf tools: Remove perf.h from source files not needing itArnaldo Carvalho de Melo1-1/+0
2019-08-29libperf: Rename the PERF_RECORD_ structs to have a "perf" prefixJiri Olsa1-4/+4
2019-08-29libperf: Add PERF_RECORD_AUXTRACE_INFO 'struct auxtrace_info_event' to perf/e...Jiri Olsa1-2/+2
2019-08-14perf intel-pt: Process options for PEBS event synthesisAdrian Hunter1-0/+18
2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa1-25/+25
2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa1-5/+5
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-18/+18
2019-07-09perf intel-pt: Fix potential NULL pointer dereference found by the smatch toolLeo Yan1-8/+5
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-1/+1
2019-06-25perf intel-pt: Synthesize CBR events when last seen value changesAdrian Hunter1-24/+41
2019-06-17perf intel-pt: Add callchain to synthesized PEBS sampleAdrian Hunter1-0/+8
2019-06-17perf intel-pt: Add memory information to synthesized PEBS sampleAdrian Hunter1-0/+27
2019-06-17perf intel-pt: Add LBR information to synthesized PEBS sampleAdrian Hunter1-0/+72
2019-06-17perf intel-pt: Add XMM registers to synthesized PEBS sampleAdrian Hunter1-1/+29
2019-06-17perf intel-pt: Add gp registers to synthesized PEBS sampleAdrian Hunter1-0/+69
2019-06-17perf intel-pt: Synthesize PEBS sample basic informationAdrian Hunter1-2/+50
2019-06-17perf intel-pt: Factor out common sample preparation for re-useAdrian Hunter1-7/+16
2019-06-17perf intel-pt: Prepare to synthesize PEBS samplesAdrian Hunter1-0/+18
2019-06-17perf intel-pt: Add new packets for PEBS via PTAdrian Hunter1-1/+2
2019-06-17Merge tag 'perf-core-for-mingo-5.3-20190611' of git://git.kernel.org/pub/scm/...Ingo Molnar1-23/+331
2019-06-17Merge branch 'x86/cpu' into perf/core, to pick up dependent changesIngo Molnar1-10/+1
2019-06-10perf intel-pt: Add support for efficient time interval filteringAdrian Hunter1-0/+208
2019-06-10perf intel-pt: Add support for lookaheadAdrian Hunter1-1/+58
2019-06-10perf intel-pt: Factor out intel_pt_get_buffer()Adrian Hunter1-23/+37
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner1-10/+1
2019-06-05perf intel-pt: Add support for samples to contain IPC ratioAdrian Hunter1-0/+29
2019-05-28perf intel-pt: Rationalize intel_pt_sync_switch()'s use of next_tidAdrian Hunter1-2/+2
2019-05-28perf intel-pt: Improve sync_switch by processing PERF_RECORD_SWITCH* in eventsAdrian Hunter1-1/+39
2019-05-28perf intel-pt: Fix itrace defaults for perf scriptAdrian Hunter1-1/+2
2019-03-01perf intel-pt: Fix divide by zero when TSC is not availableAdrian Hunter1-0/+2
2019-02-06perf auxtrace: Add timestamp to auxtrace errorsAdrian Hunter1-7/+16
2019-01-02perf thread-stack: Fix thread stack processing for the idle taskAdrian Hunter1-3/+3
2018-11-05perf intel-pt: Add more event information to debug logAdrian Hunter1-3/+13
2018-10-31perf intel-pt/bts: Calculate cpumode for synthesized samplesAdrian Hunter1-9/+13
2018-10-31perf intel-pt: Insert callchain context into synthesized callchainsAdrian Hunter1-2/+4
2018-10-24perf script: Make itrace script default to all callsAndi Kleen1-1/+2
2018-09-20perf intel-pt: Add decoder flags for trace begin / endAdrian Hunter1-0/+5
2018-06-06perf intel-pt: Fix "Unexpected indirect branch" errorAdrian Hunter1-0/+4
2018-06-06perf intel-pt: Fix sync_switch INTEL_PT_SS_NOT_TRACINGAdrian Hunter1-0/+1
2018-04-26perf symbols: Shorten dso__(first|last)_symbol()Arnaldo Carvalho de Melo1-1/+1
2018-04-26perf thread: Make thread__find_map() return the mapArnaldo Carvalho de Melo1-4/+2
2018-04-26perf thread: Introduce thread__find_map()Arnaldo Carvalho de Melo1-2/+2
2018-03-08perf intel-pt: Adjust overlap-checking to support sampling modeAdrian Hunter1-3/+4
2018-03-08perf intel-pt: Remove a check for sampling modeAdrian Hunter1-3/+0
2018-03-08perf intel-pt: Tidy old_buffer handling in intel_pt_get_trace()Adrian Hunter1-13/+11
2018-03-08perf intel-pt: Get rid of intel_pt_use_buffer_pid_tid()Adrian Hunter1-36/+3
2018-03-08perf intel-pt: Fix sync_switchAdrian Hunter1-7/+25
2018-03-08perf intel-pt: Fix overlap detection to identify consecutive buffers correctlyAdrian Hunter1-1/+4
2018-01-18perf tools: Get rid of unused 'swapped' parameter from perf_event__synthesize...Adrian Hunter1-1/+1
2018-01-18perf intel-pt/bts: Do not swap when synthesizing samplesAdrian Hunter1-8/+3
2017-10-30perf tools: Rename struct perf_data_file to perf_dataJiri Olsa1-3/+3
2017-06-30perf intel-pt: Synthesize new power and "ptwrite" eventsAdrian Hunter1-0/+283
2017-06-30perf intel-pt: Move code in intel_pt_synth_events() to simplify attr settingAdrian Hunter1-23/+22
2017-06-30perf intel-pt: Factor out intel_pt_set_event_name()Adrian Hunter1-8/+16
2017-06-30perf intel-pt: Tidy messages into called function intel_pt_synth_event()Adrian Hunter1-24/+18
2017-06-30perf intel-pt: Tidy Intel PT evsel lookup into separate functionAdrian Hunter1-10/+15
2017-06-30perf intel-pt: Join needlessly wrapped linesAdrian Hunter1-4/+2
2017-06-30perf intel-pt: Remove unused instructions_sample_periodAdrian Hunter1-2/+0
2017-06-30perf intel-pt: Factor out common code synthesizing event samplesAdrian Hunter1-122/+100
2017-06-21perf intel-pt: Fix transactions_sample_typeAdrian Hunter1-0/+1
2017-06-21perf intel-pt: Remove redundant initial_skip checksAdrian Hunter1-6/+2
2017-06-21perf intel-pt: Allow decoding with branch tracing disabledAdrian Hunter1-0/+14
2017-04-25perf memswap: Split the byteswap memory range wrappers from util.[ch]Arnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Including missing inttypes.h headerArnaldo Carvalho de Melo1-0/+1
2017-01-27perf tools: Propagate perf_config() errorsArnaldo Carvalho de Melo1-1/+3
2016-10-24perf intel-pt/bts: Report instruction bytes and length in sampleAndi Kleen1-0/+11
2016-10-24perf intel-pt/bts: Tidy instruction buffer size usageAdrian Hunter1-5/+3
2016-09-29perf intel-pt: Fix decoding when there are address filtersAdrian Hunter1-0/+82
2016-09-29perf intel-pt: Read address filter from AUXTRACE_INFO eventAdrian Hunter1-0/+51
2016-09-29perf intel-pt: Add a helper function for processing AUXTRACE_INFOAdrian Hunter1-4/+8
2016-09-29perf intel-pt: Fix missing error codes processing auxtrace_infoAdrian Hunter1-0/+2
2016-09-29perf intel-pt: Add support for recording the max non-turbo ratioAdrian Hunter1-1/+13
2016-09-29perf intel-pt: Fix snapshot overlap detection decoder errorsAdrian Hunter1-4/+11
2016-09-05perf symbols: Remove symbol_filter_t machineryArnaldo Carvalho de Melo1-2/+2
2016-09-05perf machine: Remove machine->symbol_filter and friendsArnaldo Carvalho de Melo1-2/+2
2016-06-23perf auxtrace: Add option to feed branches to the thread stackAdrian Hunter1-1/+4
2016-06-23perf evlist: Rename for_each() macros to for_each_entry()Arnaldo Carvalho de Melo1-10/+10
2016-06-23perf config: Move config declarations from util/cache.h to util/config.hTaeung Song1-0/+1
2016-04-23Merge branch 'perf/urgent' into perf/core, to resolve conflictIngo Molnar1-1/+1
2016-04-18perf intel-pt: Fix segfault tracing transactionsAdrian Hunter1-1/+1
2016-03-30perf tools: Add support for skipping itrace instructionsAndi Kleen1-2/+20
2016-03-29perf tools: Add missing initialization of perf_sample.cpumode in synthesized ...Arnaldo Carvalho de Melo1-0/+3
2016-02-02perf tools: Fix thread lifetime related segfaut in intel_ptAdrian Hunter1-0/+9
2015-12-14perf thread: Fix reference count initial stateArnaldo Carvalho de Melo1-2/+2
2015-09-30perf machine: Add method for common kernel_map(FUNCTION) operationArnaldo Carvalho de Melo1-1/+1
2015-09-28perf intel-pt: Add mispred-all config option to aid use with autofdoAdrian Hunter1-0/+14
2015-09-28perf intel-pt: Support generating branch stackAdrian Hunter1-0/+115
2015-09-28perf intel-pt: Move branch filter logicAdrian Hunter1-3/+3
2015-09-28perf auxtrace: Fix 'instructions' period of zeroAdrian Hunter1-1/+1
2015-09-08Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/...Ingo Molnar1-25/+104
2015-09-04perf intel-pt: Add support for PERF_RECORD_SWITCHAdrian Hunter1-25/+104
2015-09-02perf tools: Fix use of wrong event when processing exit eventsAdrian Hunter1-1/+1
2015-08-24perf tools: Pass Intel PT information for decoding MTC and CYCAdrian Hunter1-10/+52
2015-08-24perf tools: Fix Intel PT 'instructions' sample periodAdrian Hunter1-1/+4
2015-08-21perf tools: Fix Intel PT timestamp handlingAdrian Hunter1-1/+1
2015-08-17perf tools: Add Intel PT supportAdrian Hunter1-0/+1911