aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2024-02-19trace-cmd: Fix --poll trace recordingMarcelo Tosatti1-0/+3
2024-01-25libtracecmd: trace-cmd split: Do not fail if cmdlines are not presentSteven Rostedt (Google)1-3/+2
2024-01-11libtracecmd: Version 1.5.1libtracecmd-1.5.1Steven Rostedt (Google)1-1/+1
2024-01-11libtracecmd: Just save timestamps and not the records in iteratorsSteven Rostedt (Google)1-20/+40
2024-01-11libtracecmd: Do not free records at end of iteratorSteven Rostedt (Google)1-63/+0
2024-01-11libtracecmd: Use cpu_data[cpu]->cpus and not ->max_cpuSteven Rostedt (Google)1-7/+7
2024-01-11libtracecmd: Fix comment for tracecmd_cpus()Steven Rostedt (Google)1-1/+1
2024-01-11libtracecmd: Return NULL if page is NULL in peek_last_event()Steven Rostedt (Google)1-0/+4
2024-01-11libtracecmd: Break function graph line if exit is on another CPUSteven Rostedt (Google)1-0/+8
2024-01-11libtracecmd: Fix free_zpage() offsetSteven Rostedt (Google)1-0/+2
2024-01-10libtracecmd: Version 1.5.0libtracecmd-1.5.0Steven Rostedt (Google)1-1/+1
2024-01-10libtracecmd rbtree: Fix deletion of leaf nodesSteven Rostedt (Google)1-3/+5
2024-01-08libtracecmd: Add trace-rbtree to meson buildDaniel Wagner1-0/+1
2023-12-28trace-cmd library: Add tracecmd_iterate_reset()Steven Rostedt (Google)1-0/+32
2023-12-28trace-cmd library: Add back setting errno to zero in tracecmd_stack_tracer_st...Steven Rostedt (Google)1-0/+1
2023-12-28trace-cmd library: Fix tracecmd_iterate_events_multi() CPU clean upSteven Rostedt (Google)1-1/+1
2023-11-28libtracecmd: Use an rbtree for mapping of cache pagesSteven Rostedt (Google)4-23/+533
2023-07-10trace-cmd library: Add tracecmd_iterate_events_reverse() APISteven Rostedt (Google)1-0/+205
2023-07-10trace-cmd library: Update the version to the 1.5 developmentSteven Rostedt (Google)1-1/+1
2023-07-05trace-cmd library: Have tracecmd_iterate_events() start where it left offSteven Rostedt (Google)1-8/+13
2023-07-05trace-cmd library: Have callbacks exit out of the iteratorSteven Rostedt (Google)1-2/+2
2023-07-05libtracecmd: Add explicit pthread and dl dependency to mesonDaniel Wagner2-0/+7
2023-06-07libtracecmd: Version 1.4.0libtracecmd-1.4.0Steven Rostedt (Google)1-1/+1
2023-06-07libtracecmd: Add initial support for mesonDaniel Wagner7-0/+242
2023-06-07trace-cmd library: Fix memory leaks of followersSteven Rostedt (Google)1-0/+2
2023-06-06trace-cmd library: Add tracecmd_get_tsc2nsec() APISteven Rostedt (Google)1-0/+27
2023-06-06tracecmd library: Unlock records in tracecmd_iterate_events()Steven Rostedt (Google)1-2/+20
2023-06-05libtracecmd: Free buf_from in error path of tracecmd_compress_copy_from()Steven Rostedt (Google)1-1/+3
2023-06-02libtracecmd: Fix tracecmd_compress_copy_from() write size returnSteven Rostedt (Google)1-5/+4
2023-01-09trace-cmd: Drop using _LARGEFILE64_SOURCEKhem Raj3-3/+0
2023-01-09trace-cmd: Replace LFS64 interfaces off64_t and lseek64Khem Raj7-124/+124
2023-01-09trace-cmd library: Return the result of tracefs_cpu_stop()Steven Rostedt (Google)2-7/+7
2023-01-09trace-cmd library: Fix read_data() with error from tracefs_cpu_read()Steven Rostedt (Google)1-0/+2
2023-01-09trace-cmd stream: Add a flush signal to kick the outputSteven Rostedt (Google)2-3/+9
2023-01-09trace-cmd library: Set recorder to nonblock when finishedSteven Rostedt (Google)1-3/+6
2023-01-09trace-cmd stream: Close temp trace file to create optionsSteven Rostedt (Google)2-1/+10
2022-12-06trace-cmd library: Use tracefs_cpu for recorder helpersSteven Rostedt (Google)2-270/+66
2022-11-15trace-cmd record: Fix -m optionSteven Rostedt (Google)1-1/+1
2022-11-10trace-cmd library: Update record after callback in iteratorsSteven Rostedt (Google)1-2/+2
2022-11-09trace-cmd: Make it build against musl C libraryPeter Bergin1-0/+1
2022-11-09trace-cmd library: Add tracecmd_follow_missed_events() APISteven Rostedt (Google)1-0/+80
2022-10-18trace-cmd library: Do not call callbacks with NULL recordSteven Rostedt (Google)1-14/+28
2022-10-18trace-cmd library: Only set trace-cmd log levelSteven Rostedt (Google)1-3/+1
2022-09-28trace-cmd record: Use result of fcntl(GETPIPE_SZ)Steven Rostedt (Google)1-1/+3
2022-09-22trace-cmd library: Add API for mapping between host and guestsSteven Rostedt (Google)4-0/+217
2022-09-21trace-cmd library: Add tracecmd_follow_event()Steven Rostedt (Google)1-6/+111
2022-09-21trace-cmd library: Make tracecmd_filter_match() localSteven Rostedt (Google)2-2/+5
2022-09-21trace-cmd record/agent: Add --notimeout optionSteven Rostedt (Google)3-1/+29
2022-09-21trace-cmd: Add compile time overrides for librariesJohn 'Warthog9' Hawley1-1/+3
2022-08-05trace-cmd library: Add filtering logic for iterating eventsSteven Rostedt (Google)4-2/+229
2022-08-05trace-cmd library: Allow callers to save private data in tracecmd_input handlersSteven Rostedt (Google)1-0/+12
2022-08-05tracecmd library: Add tracecmd_iterate_events_multi()Steven Rostedt (Google)1-0/+91
2022-08-05tracecmd library: Add tracecmd_iterate_events()Steven Rostedt (Google)1-0/+70
2022-08-05tracecmd: Use make variable instead of if statement for zlib testSteven Rostedt (Google)1-5/+1
2022-08-03trace-cmd libs: Initialize msg to NULL tracecmd_msg_read_data()Steven Rostedt (Google)1-0/+2
2022-07-11trace-cmd: Fix writing of uncompressed sizeSven Schnelle1-1/+1
2022-07-08trace-cmd: Do not use KVM debug vcpu directories as the CPU mappingSteven Rostedt (Google)1-46/+58
2022-07-08trace-cmd: Have tracecmd_write_guest_time_shift() handle NULL tsyncSteven Rostedt (Google)1-1/+1
2022-07-08trace-cmd: Move clock_context_init() out of pthreadsSteven Rostedt (Google)2-20/+19
2022-06-15trace-cmd record: Verify that splice works before using itSteven Rostedt (Google)1-0/+38
2022-06-15trace-cmd library: Fix reading of temp file used to decompressSteven Rostedt (Google)1-6/+8
2022-06-15trace-cmd library: Fail if tracecmd_init_data() failsSteven Rostedt (Google)1-2/+4
2022-06-08trace-cmd library: Use uncompressed size for file sizeSteven Rostedt (Google)1-1/+2
2022-06-08trace-cmd library: Fix chunk_cmp()Steven Rostedt (Google)1-1/+1
2022-06-02trace-cmd library: Keep USECS flag if TSC multiplier is setSteven Rostedt (Google)1-0/+6
2022-05-21trace-cmd: Mount debugfs if needed for KVM dataSteven Rostedt (Google)1-12/+35
2022-05-21trace-cmd kvm timesync: Check for one valid VMSteven Rostedt (Google)1-10/+36
2022-05-21trace-cmd kvm timesync: Use stat() in kvm_scaling_check_vm_cpu()Steven Rostedt (Google)1-3/+3
2022-05-21trace-cmd time-sync: Pass role to tracecmd_tsync_get_proto()Steven Rostedt (Google)2-4/+3
2022-05-21trace-cmd agent-proxy: Send options at the end of the traceSteven Rostedt (Google)4-53/+280
2022-05-21trace-cmd library: Add tracecmd_msg_flush_data()Steven Rostedt (Google)2-0/+21
2022-05-21trace-cmd library: Add tracecmd_prepare_options()Steven Rostedt (Google)2-6/+85
2022-05-21trace-cmd msg: Keep track of offset of flushed cacheSteven Rostedt (Google)2-5/+25
2022-05-21trace-cmd msg: Add PROXY communicationSteven Rostedt (Google)2-13/+89
2022-05-21trace-cmd: Move accepting tsync connection out of tracecmd_tsync_with_host()Steven Rostedt (Google)1-20/+1
2022-05-21trace-cmd: Move selecting tsync protocol out of tracecmd_tsync_with_host()Steven Rostedt (Google)2-36/+24
2022-05-21trace-cmd agent: Test if memfd_create() is availableSteven Rostedt (Google)2-0/+13
2022-05-21trace-cmd: Move trace_msg cache file to memfdJoel Fernandes2-5/+2
2022-04-28trace-cmd library: Have clock source TAI parse to secondsSteven Rostedt (Google)1-1/+2
2022-04-26trace-cmd agent: Have agent work without vsockets availableSteven Rostedt (Google)2-6/+2
2022-04-26trace-cmd: Add debug prints for network connectionsSteven Rostedt (Google)1-0/+2
2022-04-26trace-cmd library: Create tracecmd_debug() for debug printingSteven Rostedt (Google)3-11/+16
2022-04-26trace-cmd library: Add network roles for time syncSteven Rostedt (Google)2-1/+5
2022-04-20trace-cmd listen: Add vsocket usageSteven Rostedt (Google)2-4/+12
2022-04-20trace-cmd: Move vsocket code into its own fileSteven Rostedt (Google)3-6/+11
2022-04-20trace-cmd library: Remove vsock dependency from tracecmd_tsync_with_host()Steven Rostedt (Google)3-89/+16
2022-04-20trace-cmd library: Have tracecmd_tsync_with_guest() not depend on cid/portSteven Rostedt (Google)2-34/+4
2022-04-20trace-cmd library: Remove dependency on vsocks for sync identifiersSteven Rostedt (Google)3-36/+10
2022-04-20trace-cmd library: Remove vsocket dependency on P2P protocolSteven Rostedt (Google)3-18/+18
2022-04-20trace-cmd library: Remove ports from clock contextSteven Rostedt (Google)2-10/+3
2022-04-11trace-cmd: Write the actual size of compressed block in the trace fileTzvetomir Stoyanov (VMware)1-6/+8
2022-04-11trace-cmd: Disable PTP timesync internal debugTzvetomir Stoyanov (VMware)1-1/+1
2022-04-11trace-cmd: Unlock tsync mutex on thread exitTzvetomir Stoyanov (VMware)1-1/+3
2022-04-11trace-cmd library: When the compression algorithm is none do no compressionSteven Rostedt (Google)1-1/+4
2022-04-06trace-cmd library: Do not free pthread items from agentSteven Rostedt (Google)1-3/+7
2022-04-04trace-cmd library: Write buffer option in out_write_cpu_data()Steven Rostedt (Google)1-0/+3
2022-04-04trace-cmd library: Use clock local if no clock is found when creating bufferSteven Rostedt (Google)1-0/+4
2022-04-04trace-cmd library: Do not read if cpu is greater than cpusSteven Rostedt (Google)1-0/+3
2022-04-04trace-cmd library: Fix trace-cmd convert to handle offset updateSteven Rostedt (Google)1-2/+3
2022-04-04trace-cmd library: Make msg_lseek() header prototype match the function proto...Steven Rostedt (Google)1-1/+1
2022-04-04trace-cmd library: Process trace_clock for v7 trace.dat filesSteven Rostedt (Google)1-0/+1
2022-03-24trace-cmd library: Fix tracecmd_read_at()Steven Rostedt (Google)1-6/+16
2022-03-24trace-cmd library: Fix memory leak of page_mapsSteven Rostedt (Google)1-0/+5
2022-03-24trace-cmd library: Use cpu_data variable to shorten commandsSteven Rostedt (Google)1-15/+17
2022-03-15trace-cmd report: Have -q not print empty CPUsSteven Rostedt (Google)1-1/+1
2022-03-15trace-cmd library: Fix off by one in tracecmd_read_cpu_first()Steven Rostedt (Google)1-1/+1
2022-03-12trace-cmd library: Do not read CPU greater than CPUs registeredSteven Rostedt (Google)1-1/+7
2022-03-12trace-cmd library: Make cpu_data[] match the cpusSteven Rostedt (Google)1-8/+38
2022-03-07libtracecmd: Do not set errno to zeroSteven Rostedt (Google)2-5/+4
2022-03-06trace-cmd library: Introduce buffer page size per instanceTzvetomir Stoyanov (VMware)3-20/+39
2022-03-06trace-cmd library: Use the real trace buffer page sizeTzvetomir Stoyanov (VMware)1-1/+36
2022-03-06trace-cmd: Use context hooks in zstdTzvetomir Stoyanov (VMware)1-26/+54
2022-03-06trace-cmd: Add context to compression hooksTzvetomir Stoyanov (VMware)4-19/+39
2022-03-06trace-cmd: Use errno from zlib, if availableTzvetomir Stoyanov (VMware)1-2/+4
2022-03-06trace-cmd: Make internal compression hooks more genericTzvetomir Stoyanov (VMware)4-43/+32
2022-03-06trace-cmd: Use a structure to describe a compression protocolTzvetomir Stoyanov (VMware)4-33/+44
2022-02-24trace-cmd: Fix use of uninitialized variableSteven Rostedt (Google)1-1/+1
2022-02-24trace-compress: Add ZSTD support.Sebastian Andrzej Siewior4-1/+105
2022-02-24trace-cmd: Fix regression of not reading older data filesSteven Rostedt (Google)1-1/+1
2022-02-24trace-cmd: Set default log to INFO and remove unnecessary newlinesSteven Rostedt (Google)6-19/+19
2022-02-24trace-cmd: Show uncompressed size at end of recordSteven Rostedt (Google)1-2/+7
2022-02-24trace-cmd: Set the default file version to 7Steven Rostedt (Google)1-1/+1
2022-02-15trace-cmd library: Do not record TSC frac bits if scaling is defaultTzvetomir Stoyanov (VMware)1-1/+1
2022-02-15trace-cmd library: Extend tracecmd_copy() APITzvetomir Stoyanov (VMware)2-7/+39
2022-02-15trace-cmd library: Avoid memory leak when setting trace clockTzvetomir Stoyanov (VMware)1-1/+3
2022-02-15trace-cmd library: New API to copy trace data between trace filesTzvetomir Stoyanov (VMware)4-0/+226
2022-02-15trace-cmd library: New API to copy options between trace filesTzvetomir Stoyanov (VMware)4-0/+195
2022-02-15trace-cmd library: New API to copy buffer description between trace filesTzvetomir Stoyanov (VMware)2-0/+16
2022-02-15trace-cmd library: Copy CPU count between trace filesTzvetomir Stoyanov (VMware)1-0/+42
2022-02-15trace-cmd library: Handle version 7 files when copying headers between filesTzvetomir Stoyanov (VMware)4-32/+212
2022-02-15trace-cmd library: Use output handler when copying data from input fileTzvetomir Stoyanov (VMware)4-74/+82
2022-02-15trace-cmd: Fix trace-cmd report --eventsSteven Rostedt (Google)1-25/+14
2022-02-05trace-cmd library: Add zlib compression algorithmTzvetomir Stoyanov (VMware)4-0/+124
2022-02-05trace-cmd library: Decompress file sections on readingTzvetomir Stoyanov (VMware)1-2/+24
2022-02-05trace-cmd library: Read compressed latency dataTzvetomir Stoyanov (VMware)1-7/+70
2022-02-05trace-cmd library: Add logic for in-memory decompressionTzvetomir Stoyanov (VMware)1-0/+124
2022-02-05trace-cmd library: Initialize CPU data decompression logicTzvetomir Stoyanov (VMware)1-3/+74
2022-02-05trace-cmd library: Extend the input handle with trace data decompression contextTzvetomir Stoyanov (VMware)1-11/+48
2022-02-05trace-cmd library: Read compression headerTzvetomir Stoyanov (VMware)1-2/+35
2022-02-05trace-cmd library: Decompress the options section, if it is compressedTzvetomir Stoyanov (VMware)1-13/+33
2022-02-05trace-cmd library: Compress the trace dataTzvetomir Stoyanov (VMware)1-3/+8
2022-02-05trace-cmd library: Add local helper function for data compressionTzvetomir Stoyanov (VMware)1-6/+65
2022-02-05trace-cmd library: Compress part of the trace fileTzvetomir Stoyanov (VMware)1-16/+83
2022-02-05trace-cmd library: Write compression header in the trace fileTzvetomir Stoyanov (VMware)1-0/+27
2022-02-05trace-cmd library: New API to configure compression on an output handlerTzvetomir Stoyanov (VMware)2-2/+61
2022-02-05trace-cmd library: Inherit compression algorithm from input fileTzvetomir Stoyanov (VMware)3-0/+41
2022-02-05trace-cmd library: Internal helpers for uncompressing dataTzvetomir Stoyanov (VMware)2-6/+46
2022-02-05trace-cmd library: Internal helpers for compressing dataTzvetomir Stoyanov (VMware)2-3/+69
2022-02-05trace-cmd library: Add support for compression algorithmsTzvetomir Stoyanov (VMware)5-0/+1032
2022-01-23trace-cmd library: Handle buffer trace data init for version 7 filesTzvetomir Stoyanov (VMware)1-26/+29
2022-01-23trace-cmd library: Handle latency trace in version 7 filesTzvetomir Stoyanov (VMware)3-3/+36
2022-01-23trace-cmd library: Initialize CPU data for reading from version 7 trace filesTzvetomir Stoyanov (VMware)1-55/+123
2022-01-23trace-cmd library: Handle the extended DONE optionTzvetomir Stoyanov (VMware)3-3/+43
2022-01-23trace-cmd library: Read extended BUFFER optionTzvetomir Stoyanov (VMware)1-17/+128
2022-01-23trace-cmd library: Read strings sections on file loadTzvetomir Stoyanov (VMware)3-0/+67
2022-01-23trace-cmd library: Read headers from trace file version 7Tzvetomir Stoyanov (VMware)1-15/+122
2022-01-23trace-cmd library: Use sections database when reading parts of the trace fileTzvetomir Stoyanov (VMware)1-10/+20
2022-01-23trace-cmd library: Initialize internal sections database on file readTzvetomir Stoyanov (VMware)2-14/+52
2022-01-23trace-cmd library: Introduce sections in trace file reading logicTzvetomir Stoyanov (VMware)1-0/+71
2022-01-23trace-cmd library: Add macro to check file state on readingTzvetomir Stoyanov (VMware)1-8/+10
2022-01-23trace-cmd library: Fit CPU latency trace data in the new trace file version 7...Tzvetomir Stoyanov (VMware)2-2/+19
2022-01-23trace-cmd library: Add section header before flyrecord trace dataTzvetomir Stoyanov (VMware)1-0/+12
2022-01-23trace-cmd library: Move CPU flyrecord trace metadata into the buffer option, ...Tzvetomir Stoyanov (VMware)1-54/+148
2022-01-23trace-cmd library: Do not write CPU count section in trace files version 7Tzvetomir Stoyanov (VMware)1-4/+10
2022-01-23trace-cmd library: Add multiple options sections in trace file version 7Tzvetomir Stoyanov (VMware)1-7/+98
2022-01-23trace-cmd library: Write header before file sectionsTzvetomir Stoyanov (VMware)2-23/+103
2022-01-23trace-cmd library: Add internal helper function for writing headers before fi...Tzvetomir Stoyanov (VMware)3-1/+82
2022-01-23trace-cmd library: Add strings section in trace file version 7Tzvetomir Stoyanov (VMware)2-0/+70
2022-01-23trace-cmd library: New APIs to get and set version of output handlerTzvetomir Stoyanov (VMware)2-0/+30
2022-01-23trace-cmd library: Add cache functionality to network message handlerTzvetomir Stoyanov (VMware)4-51/+127
2022-01-23trace-cmd library: Define trace file version 7Tzvetomir Stoyanov (VMware)4-9/+22
2022-01-22libtracecmd: Use major version as SONAMEDario Faggioli1-1/+1
2021-12-08trace-cmd library: Add API to get information from trace fileMichael Sartain2-0/+68
2021-12-03trace-cmd library: Make tracecmd_output_write_init staticTzvetomir Stoyanov (VMware)2-9/+8
2021-12-03trace-cmd library: Remove APIs for create and init output handleTzvetomir Stoyanov (VMware)2-38/+0
2021-12-03trace-cmd library: Rename tracecmd_output_allocate()Tzvetomir Stoyanov (VMware)2-5/+5
2021-12-03trace-cmd library: New API for creating an output trace handleTzvetomir Stoyanov (VMware)2-14/+33
2021-12-03trace-cmd library: Fix typo in tracecmd_output_set_msg()Tzvetomir Stoyanov (VMware)1-1/+1
2021-11-24trace-cmd library: Refactor the logic for writing trace data in the fileTzvetomir Stoyanov (VMware)3-104/+189
2021-11-24trace-cmd library: Add internal database for trace buffersTzvetomir Stoyanov (VMware)2-2/+58
2021-11-24trace-cmd library: Clean up comments and handle variable nameSteven Rostedt (VMware)2-88/+101
2021-11-23trace-cmd library: Remove deprecated APIs for creating an output handlerTzvetomir Stoyanov (VMware)2-176/+1
2021-11-23trace-cmd library: Use the new flow when creating output handlerTzvetomir Stoyanov (VMware)1-6/+48
2021-11-23trace-cmd library: New API to write headers of a trace fileTzvetomir Stoyanov (VMware)2-4/+43
2021-11-23trace-cmd library: New API tracecmd_output_write_initTzvetomir Stoyanov (VMware)2-0/+55
2021-11-23trace-cmd library: New API to inherit parameters from an existing trace fileTzvetomir Stoyanov (VMware)2-0/+34
2021-11-23trace-cmd library: New API for setting a custom kallsyms to an output handlerTzvetomir Stoyanov (VMware)2-2/+31
2021-11-23trace-cmd library: New API for setting a custom trace directory to an output ...Tzvetomir Stoyanov (VMware)2-0/+28
2021-11-23trace-cmd library: New API for setting a message context to an output handlerTzvetomir Stoyanov (VMware)2-0/+24
2021-11-23trace-cmd library: New API for allocating an output handlerTzvetomir Stoyanov (VMware)2-1/+39
2021-11-23trace-cmd library: Set the correct file state when reading file with no ftrac...Tzvetomir Stoyanov (VMware)1-1/+3
2021-11-23trace-cmd library: Set the correct file state when reading file with no kallsymsTzvetomir Stoyanov (VMware)1-3/+5
2021-11-23trace-cmd library: Fix possible memory leak in read_ftrace_files()Tzvetomir Stoyanov (VMware)1-9/+11
2021-11-23trace-cmd library: Fix possible memory leak in read_event_files()Tzvetomir Stoyanov (VMware)1-20/+19
2021-11-23trace-cmd library: Track maximum CPUs count in input handlerTzvetomir Stoyanov (VMware)1-1/+6
2021-11-23trace-cmd library: Do not use local variables when reading CPU stat optionTzvetomir Stoyanov (VMware)1-7/+7
2021-11-09trace-cmd library: Read and use fraction bits from TRACECMD_OPTION_TIME_SHIFTTzvetomir Stoyanov (VMware)1-40/+39
2021-11-09trace-cmd library: Extend host-guest time sync with fraction bitsTzvetomir Stoyanov (VMware)5-30/+96
2021-11-09trace-cmd library: Do not use strncmp() when searching for KVM debug filesTzvetomir Stoyanov (VMware)1-4/+2
2021-10-04trace-cmd library: Set correct CPU to the record, retrieved with tracecmd_pee...Tzvetomir Stoyanov (VMware)1-1/+1