X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=ChangeLog;h=7dce03b8d0d18b05402023efd3d91a7397051186;hp=8963a9871fc1fd29379f57a452c46e7cbbbe68d8;hb=ea15538d675ad5685c1e4ce1c393f25f682eb06b;hpb=00808267d3ba7cdcddfed7bec7e62a40463c1307 diff --git a/ChangeLog b/ChangeLog index 8963a987..7dce03b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,460 @@ +2017-05-05 (International Tuba Day) LTTng modules 2.10.0-rc1 + * Fix: remove CONFIG_KALLSYMS_ALL warning on clean + * Add RING_BUFFER_SNAPSHOT_SAMPLE_POSITIONS command + * Fix: Always build vmscan probe + * Cleanup: formatting in strutils_star_glob_match explanation + * Fix: introduce LTTNG_SIZE_MAX for older kernels + * Use SIZE_MAX instead of -1ULL for size_t parameter + * filter: use SIZE_MAX for size_t + * Fix: out of bound array access in filter code + * Add support for star globbing patterns in event names + * Filtering: add support for star-only globbing patterns + * Add string utilities + * lttng-abi.c: cleanup whitespaces + * Fix: use of uninitialized ret value in lttng_abi_open_metadata_stream + * Fix: kref changes for kernel 4.11 + * Fix: atomic_add_unless() returns true/false rather than prior value + * Fix: timers cputime_t arguments replaced by ull in kernel 4.11 + * Fix: update scsi instrumentation for kernel 4.11 + * Fix: changes to the vm_op fault cb prototype in libringbuffer + * Fix: update btrfs instrumentation for kernel 4.11 + * Fix: update mm_vmscan instrumentation for kernel 4.11 + * Fix: section mismatch warning caused by __exit annotation + * socketpair: extend syscall socketpair tracing information + * Remove events/mainline unused headers + * update event README + * Fix: nmi-safe clock on 32-bit systems + * Fix: only include linux/cpuhotplug.h for kernels >= 4.10 + * Fix: 4.10 hotplug adaptation backward compat + * Fix: 4.10 btrfs instrumentation update backward compat + * Update btrfs instrumentation for 4.10 kernel + * Adapt lttng-modules to Linux 4.10 cpu hotplug state machine + * btrfs instrumentation: update to 4.10 kernel + * timer instrumentation: adapt to ktime_t without union + * Add load/unload messages to kernel log + * Update version to 2.10.0-pre + * Fix: asoc instrumentation for RHEL 7.3 + * Fix: SCSI instrumentation for SLES12 SP2 + * Add SUSE Linux Enterprise kernel version tests + * Filter code relicensing to MIT license + * Add task cpu in process statedump + * Performance: add missing unlikely in reserve + * Fix: preemptible and migratable context error handling + * Fix: bump stable kernel version ranges for clock work-around + +2016-10-07 (National Frappé Day) LTTng modules 2.9.0-rc1 + * Fix: i2c: support kernels < 3.15 + * Fix: show warning for broken clock work-around + * Bump minor ABI version + * Fix: work-around upstream Linux timekeeping bug + * Add support for i2c tracepoints + * Cleanup: makefile version checks with single "ge" + * Performance: special-case NULL in lttng_strlen_user_inatomic + * Fix: lttng_inline_memcpy does not take a __user argument + * Performance: implement lttng_inline_memcpy + * Performance: cache the backend pages pointer in context + * Cleanup: libringbuffer: remove duplicate pointer chasing in slow paths + * Performance: Only dereference commit index once + * Performance: Mark channel and buffer event disabled check unlikely + * Performance: Relax atomicity constraints for crash handling + * Performance: mark ring buffer do_copy callers always inline + * Performance: mark lib_ring_buffer_write always inline + * Kconfig: select TRACEPOINTS when built-in + * Performance: disable event counting by default + * Fix: handle large number of pages or subbuffers per buffer + * Fix: unregister cpu hotplug notifier on buffer alloc error + * Fix: sa_family is of type unsigned short + * Fix: check for sizeof sa_family to save sa_family in accept and connect + * Fix: use printk_once() for wrapper warning messages + * Fix: btrfs instrumentation for 4.8 kernel + * Fix: update mm_vmscan instrumentation for kernel 4.8 + * Fix: napi instrumentation for 4.8 kernels + * Fix: update block instrumentation to compile on 4.8 kernels + * Cleanup: reuse code in accept() and accept4() instrumentation + * Add x86-64 override for accept4 syscall + * Fix: timer wrapper: support kernels >= 4.8 + * Performance: split check deliver fast/slow paths + * Fix: x86-64 accept instrumentation + * Fix: Add support for 4.6.4-rt8 kernel + * Fix: update scsi instrumentation for 4.7+ kernels + * Fix: Use fs_initcall instead of rootfs_initcall + * Fix: Add kernel configuration for lttng clock plugin + * Fix: the clock plugin must be initiated before first use of the clock + * Fix: tests/Kbuild for older kernels + * Cleanup: __dynamic_len_idx set but not used warning + * Cleanup: coding style and comments of net.h + * net: Add TCP header data to net_* tracepoints + * net: Add IPv4/IPv6 header data to net_* tracepoints + * Fix: endianness for the container type of enum + * enumeration autoincrement: use if/else logic + * Cleanup trailing whitespaces + * lttng-test probe: test ctf_enum_auto() + * Add ctf_enum_auto() for autoincrementing enumeration values + * Implement session statedump command + * Fix: annotate bytecode interpreter for kernel stack validator + * Update version to 2.9.0-pre + * Fix: ring buffer: honor switch parameter type in remote switch + * Fix: only flush non-metadata channels + * Fix: don't perform extra flush on metadata channel + * select, poll and epoll_wait overrides on ARM 32-bit + * Fix: flush empty packets on snapshot channel + * Fix: do not generate packet at destroy after stop + * Fix: compat ioctl for flush/get metadata version + * Fix: ctf_string() should handle NULL pointers + * Fix: portability: no arith on void pointer + * Fix: add missing tests/Kbuild + * Test clock override plugin + * Fix: add modules target to base Makefile + * Fix: make clean does not include dot-config + * Fix: trigger build error if CONFIG_TRACEPOINTS is not set + * Documentation: document that CONFIG_MODULES not required when builtin + * Fix: add missing errno include in random wrapper + * Fix: mm_page_alloc_extfrag instrumentation for kernel 3.16.35 + * Fix: copy_from_user size when limited allocation + * Extract the payload of epoll_wait/epoll_pwait + * Extract the payload for epoll_ctl + * Extract the FDs and flags from poll and ppoll + * Extract the FD sets in select and pselect6 + * Add ctf_integer_bitfield_type + * Implement enumeration type + * Implement custom field support + * Implement variant type + * Implement shadow stack for dynamic len + * libringbuffer: implement event too big API + * Implement structure, compound array/sequence types + * Fix: integer endianness metadata generation + * Fix: endianness of integers received by filter + * Fix: writeback probe on RHEL >= 3.10.0-327.10.1 + * Fix: RHEL kernel 3.10.0-327.13.1 compat + * Fix: ctf_user_integer should not trigger page fault + * Fix: lib_ring_buffer_copy_from_user_inatomic error handling + * Add comment describing ioctl number duplication + * Fix: remove unused gfpflags.h from btrfs and compaction instrumentation + * Fix: Remove dead code from filter interpreter + * Fix: x86 kvm mmutrace instrumentation for kernel < 3.6 + * Fix: mm_vmscan instrumentation: remove unused gfpflags.h include + * Fix: use of uninitialized ret value in lttng_abi_create_event + * Fix: kmem instrumentation: remove unused gfpflags.h include + * Fix: 4.6 kernel: use in_compat_syscall + * Fix: use BUG_ON instead of accessing array subscript above array bounds + * Fix: Add granularity to RHEL kernel version checks + +2016-03-18 (Awkward Moments Day) LTTng modules 2.8.0-rc1 + * Bump minor tracer ABI version + * Fix: build against out-of-tree kernel build + * probes/Kbuild: remove upper level header path + * Move leftover relative include paths to system paths + * syscall instrumentation: use system headers + * tracepoint event instrumentation: use system headers + * Use system include path in wrappers + * libs: use system include paths + * Use system header paths in core implementation files + * Use system include paths in root directory headers + * Use system include paths in probes + * Update gitignore + * Use system include paths in lttng-types.h + * Use system include paths in lttng-tracepoint-event-impl.h + * Use system include path in probes/define_trace.h + * Use system include paths in probes/lttng-tracepoint-event-impl.h + * Rename probes/lttng-events.h to probes/lttng-tracepoint-event-impl.h + * Add makefile directory to include path + * Fix: event ctx get size should be after chan ctx + * Fix: filter interpreter with userspace strings + * Fix: rename kvm x86 TRACE_SYSTEM to avoid name clash + * Fix: format address fields as hexadecimal + * PowerPC-64 ABIv1: add build error if KALLSYMS_ALL is missing + * Fix: system call instrumentation overrides + * Fix: page_alloc wrapper incorrect parenthesis + * Fix: system call tracing for arm-64 compat !CONFIG_UID16 + * Fix: add struct user_msghdr forward declaration for older kernels + * Cleanup: Remove unused lttng-types module + * Fix: add missing versions and init call for page_alloc wrapper + * Fix: Define lttng-tracer metadata only once + * Fix: Add CONFIG_LTTNG to modules_install target + * Fix: Use kbuild env instead of a custom var KERNELDIR + * Update clock offset comment + * clock offset: print negative value in metadata + * Fix: handle negative clock offset + * Fix: sched instrumentation for 4.1-rt11 + * Add RT patch version macros + * Expect filter context identifiers starting with $ctx. + * ARM64: wire up compat system calls + * Add support for arm64 syscalls + * Fix: Ubuntu kernel range for block_rq_complete + * Fix: Ubuntu kernel range for mm_page_alloc_extfrag + * Fix: update vmscan instrumentation for kernel 4.5 + * Fix: check reference counts for overflow + * Fix: RHEL 7.2 scsi instrumentation + * Fix: RHEL 7.2 kvm instrumentation + * Kconfig: describe both module and in-kernel compilation options + * Add comments and indentation to Makefile + * Add support for built-in kernel build + * Rename sub makefiles to Kbuild + * Cleanup sub makefiles + * Make goals configurable with CONFIG_LTTNG + * Fix: Use generic raw_irqs_disabled_flags + * Fix: Use MAX_RT_PRIO offset in sched_wakeup_template + * Fix: update sched instrumentation for kernel 4.4.0 + * Bump version number for development branch + * Fix: interruptible context: reversed logic + * Contexts for RT debugging + * Fix: instrumentation: v4lv2 missing include + * Fix: header size larger than 256 bytes + * Instrument x86 page faults + * Fix: irq_vectors TRACE_SYSTEM name + * Instrument x86_irq_vectors + * Fix: tracepoint listing misses last loaded probe + * Fix: lttng trace-clock needs to disable preemption + * Tracepoint event: add "TP_code_post()" + * Implement array and sequence bitfields + * Fix: kmem: add mm.h include + * Add page frame number (pfn) to kmem page events + * Use pfn rather than struct page in ring buffer array + * Implement clock plugin support + * Command to regenerate the metadata of a session + * Fix: writeback instrumentation update for 4.3 Linux kernel + * Fix: update sched wakeup instrumentation for 4.3 kernel + * Fix: lttng-test build failure for kernels < 3.0 + * Use 3.18 syscall instrumentation for MIPS32 + * Update the MIPS32 syscall instrumentation to 3.18 + * Fix: Move pipe override to the arch specific pointers_override.h + * Implement lttng test module + * Cleanup: remove logically dead code + * Fix: filter validator use after free + * Fix: use after free in channel release + * Fix: non-enabler events should be disabled by default + * Fix: build failure on 2.6.36 + * Cleanup: split bdi_dirty_ratelimit with ifdef into separate macros + * Fix: writeback instrumentation for 4.2 kernels + * Fix: mm_page_alloc_extfrag instrumentation for kernel 3.18.10 + * Add stream instance id to the packet header + * Add a packet sequence number + * Fix: kmem probe with Ubuntu 3.13 kernels + * Fix: disable kvm probe if lapic.h isn't found + * Fix: timer instrumentation for 4.2 kernels + * Fix: ext4 instrumentation for 4.2 kernels + * Fix: kvm instrumentation for 4.2 kernels + * Fix: allow LTTng to be built within kernel tree + +2015-07-15 (Pet Fire Safety Day) LTTng modules 2.7.0-rc1 + * Fix: Building the event list fails on fragmented memory + * Fix: use after free on metadata cache reallocation + * Fix: version checks for kernel 4.0 + * Fix: Incorrect Ubuntu kernel patchlevel + * Fix: cpu-id context should use int type + * Implement cpu-id context + * Implement cpu_id context for filtering + * Fix: context printk mismatch on error + * Cleanup: misleading comment about deferrable timer + * Fix: arm-32 build + * Fix: Update kmem event for Ubuntu's 3.16 kernel + * Fix: RHEL 7.1 block instrumentation + * Fix: add RHEL version macros + * Fix: add missing parenthesis in ubuntu version check + * Fix: remove regmap instrumentation for kernels < 4.1 + * Fix: Update kmem event for recent Ubuntu kernel + * Fix: missing statedump end event when block device listing available + * Fix: don't generate incorrect macros for debian/ubuntu version check + * Revert "Fix: build against Ubuntu kernels" + * Fix: build against Ubuntu kernels + * Add namespace info in sched_fork and statedump + * Fix: ext4 instrumentation: flags parameter did not exist prior to 3.11 + * Fix: printk instrumentation: remove "condition" tracepoints + * Fix: regmap build against kernel 4.0 kernel headers + * Add mmu_valid_gen field to mmutrace events + * Fix: add missing x86 mmutrace kernel header include + * Fix: x86 mmutrace event extra field for kernels >= 3.11 + * Fix: remove execute flag from kvm.h file + * Fix: build x86 kvm probes on kernels >= 4.1-rc1 + * Fix: compilation on 4.1-rc1 kernel, remove unused WB_WORK_REASON + * Fix: 4.1-rc1 Linux build and regmap instrumentation + * Fix: don't clash with older Debian kernel versions + * Fix: update get_pfnblock_flags_mask wrapper for debian kernels + * Fix: discover Debian API + * Fix: Update README.md to match reality: kernels >= 2.6.36 are supported + * Fix: atomic.h wrapper for kernels < 2.6.37 + * Fix: disable x86 kvm instrumentation for kernels < 2.6.38 + * Fix: add missing types.h include for older kernels + * Fix: add hlist lttng wrappers + * Fix: add struct file_handle forward declaration + * Fix: string length calculation reversed user vs kernel args + * Fix: use lttng_rcu_dereference within lttng-syscalls.c + * Fix: add lttng rcu wrapper to allow tracing RCU + * Fix: double-unlock of session mutex + * Fix: check that class and instance prototype match + * Fix: lttng-events.h check function takes void + * Fix: regmap instrumentation for Linux 3.19.4 and 4.0 + * Fix: kernels >= 2.6.33 put utsrelease.h in generated/ + * Fix: Include utsrelease.h in lttng-kernel-version.h + * Fix: ext4 ext4_da_write_pages instrumentation for kernels < 3.11.0 + * Fix: old kernels need module.h included before vermagic.h + * Fix: net instrumentation for kernels 2.6.39 and below + * Fix: version condition in makefile + * Implement wrapper around get_pfnblock_flags_mask + * Be more restrictive in provider name check + * Fix: net instrumentation namespacing + * Fix: compaction instrumentation namespacing + * Fix: Support 4.x kernel versions in Makefile + * Fix: remove stale TP_STRUCT_entry from kvm instrumentation + * Fix: add missing module.h include to lttng-probe-user.c + * Fix: use lttng hlist wrapper in wildcard and filter + * Fix: namespace asoc and kmem instrumentation + * Fix: update instrumentation after wildcard rebase + * Fix: lttng_abi_syscall_list does not need to be exported + * Migrate ARM, powerpc, MIPS syscall instrumentation to TP_FIELDS + * Remove now unused syscalls.h from lttng-modules + * Filter: start with enabler "disabled" + * Fix coverity warning about sizeof(void **) != sizeof(void *) + * Fix length type and text sequence base + * Fix: TP_FIELDS: add missing headers + * Migrate syscall instrumentation to TP_FIELDS + * Migrate tracepoint instrumentation to TP_FIELDS + * Implement filtering infrastructure + * syscall wildcards: apply syscall filtering + * Implement syscall wildcard support + * Implement tracepoint wildcard support + * Namespace all tracepoints + * Implement list.h wrapper for hlist in older kernels + * Implement listing of pid tracker content + * Implement PID tracking + * Fix: mm_page_alloc_extfrag instrumentation for kernel 3.14.36 + * Fix: update writeback instrumentation for kernel 4.0+ + * Fix: compaction mm_compaction_isolate_template update for Linux 4.0+ + * Fix: kmem instrumentation update for mm_page_alloc_extfrag kernel 3.19.2+ + * Fix: kmem instrumentation: mm_page_alloc extfrag change_ownership field + * Fix: missing parenthesis in offset_align_floor + * Fix: implement time.h wrapper for FD_ISSET + * Fix: update sched instrumentation for 3.19+ kernels + * Fix: update rcu instrumentation for 3.19+ kernels + * Fix: update scsi instrumentation for 3.19+ kernels + * Fix: update module instrumentation for 3.19+ kernels + * Fix: Add f_dentry wrapper for 3.19+ kernels + * Fix: introduce lttng_get_unused_fd() wrapper for 3.19 kernels + * Fix: lttng_this_cpu_ptr wrapper for kernel 3.19+ + * Fix: Update btrfs instrumentation for 3.18 Linux kernel + * Fix compile error on kernel 3.0.101 with CONFIG_PERF_EVENTS + * Conditional compilation introduced by lttng-modules commit + * Fix: compaction instrumentation update for 3.14.x stable kernels + * Fix: context alignment not properly handled + * Fix compilation on Linux kernel >= 3.18.0 + * Fix: build for architectures without HAVE_SYSCALL_TRACEPOINTS + +2014-10-20 LTTng modules 2.6.0-rc1 + * Expose lttng-modules ABI version ioctl + * Fix: syscall list ioctl number conflict + * lttng-modules: fix build for non-x86 + * Fix: syscall listing of session + * Print build warning when writeback probe is disabled + * Add atomic.h wrapper for before/after atomic + * Fix compilation on Ubuntu 14.10 + * Fix: export name as text array in writeback + * Cleanup: remove unused trace_clock_read32() + * Use 3.17 ktime_get_mono_fast_ns() new API + * Check for stale version.h files + * Fix: compile lttng_statedump_process_ns on Ubuntu + * Reverse version check logic in lttng_statedump_process_ns + * Fix block_rq_complete TP on Ubuntu kernel + * Introduce macros to check Ubuntu kernel version + * Sync writeback tracepoints from mainline + * Fix: redefinition of DEFINE_WRITEBACK_EVENT + * Fix: hander negative get_syscall_nr return value + * Fix: statedump: close_on_exec flag backward compat + * Fix instrumentation of vmscan for older kernels + * Fix: older kernels (3.2.x) don't undefine TRACE_SYSTEM + * Fix: syscall listing: handle "enable all syscall" + * Fix: don't allow disabling syscalls when none are enabled + * Fix: syscall: fail disable all if all already disabled + * Fix: syscall filtering: NULL pointer deref + * Cleanup: list syscall without syscall_entry prefix + * Fix: syscall_list_show NULL pointer deref + * implement syscall mask getter + * Cleanup: lttng-abi.h coding style + * syscall listing: show syscall ID + * Allow events with same name to be enabled for each channel + * ABI: use enable a syscall ABI field name + * Implement syscall listing + * Fix: tracepoint list anonymous file name + * Fix: syscall filtering: disable all syscalls + * syscall tracing: input/output parameter handling for all arch + * lttng-get-syscall-inout.sh depends on bash + * Fix generate syscall header script: add missing escape char + * syscall instrumentation: handle copy_from_user return value + * Rename LTTng syscall instrumentation macros + * Rename LTTng instrumentation macros + * Extract input/output arguments from accept and connect syscalls + * syscall: extract pipe and pipe2 output args + * Remove sys_ prefix from syscall names + * System call inout/output arg processing + * Update syscall inout table + * Add syscall inout table + * Extract syscall exit ret value on x86 32/64 + * Extract system call exit return value + * Syscall filtering: apply to syscall exit + * System call filtering + * asoc.h: fix build with v3.17 kernel + * Fix: lttng-modules teardown NULL pointer OOPS + * Fix: handle concurrent flush vs get_next_subbuf on metadata cache + * Modernize README using Markdown + * Fix: OOT lttng_logger tracepoint not visible with signed kernels + * Add cscope to gitignore + * Update kvm instrumentation: compile on 3.17-rc1 + * Update statedump to 3.17 nsproxy locking + * Fix: noargs probes should calculate alignment and event length + * Update compaction instrumentation to 3.16 kernel + * Update vmscan instrumentation to 3.16 kernel + +2014-07-16 (Take Your Poet to Work Day) LTTng modules 2.5.0 + * (no change) + +2014-06-27 LTTng modules 2.5.0-rc2 + * Fix: statedump: check whether "files" is NULL, RCU semantic fix + * Fix: statedump handle oom case, handle errors + * Fix: correct typo in kernel version number + * Fix: blktrace instrumentation for backported branches + * Fix: statedump block devices OOPS + +2014-05-28 (International Hamburger Day) LTTng modules 2.5.0-rc1 + * Add TID field to some block_* events + * Fix: refuse overwrite mode buffers with less than two subbuffers + * Fix: lttng modules system call generation script + * Dump FD flags and mode on state dump + * Fix: incorrect rwbs field type in block_bio_queue + * Fix: blktrace instrumentation for v3.2.58+ stable branch + * Fix: pass proper args when writing commit counter + * Cleanup: lib ringbuffer: pagecpy has unsigned semantic + * Fix: allow racy tracepoint string input from kernel and userspace + * Statedump event for block devices + * Fix: update v4l2 instrumentation to 3.15 kernel + * Fix: ext4 update instrumentation to 3.15 kernel + * Fix: update block instrumentation to 3.15 kernel + * Fix: module instrumentation: update to 3.15 kernel + * Adapt to 3.15 tracepoint API + * Kernel 3.15 don't define map unmap for pipe + * Fix: add missing module version in v4l2 probe + * Add V4L2 instrumentation + * Fix: rcu instrumentation: add const qualifier to char pointers + * Fix: add missing module version information + * Use kernel 3.13 syscall tables for MIPS32 + * Add MIPS32 syscalls extracted from a 3.13 kernel + * Fix: block instrumentation: < 3.14 don't have bi_iter + * Fix: update btrfs instrumentation to kernel 3.14 + * Fix: update block layer instrumentation to kernel 3.14 + * Fix: remove __exit annotation + * Fix file permissions for lttng-statedump-impl.c + * LTTng logger ABI + +2014-02-28 (Public Sleeping Day) LTTng modules 2.4.0 + * Fix: load state dump even if work-around lookup fails + * Cleanup: fix comment + * Fix: correctly version kvm events to build against v3.0 kernel + * Add extraversion (e.g. -rc4) to lttng-tracer modinfo + +2014-02-14 LTTng modules 2.4.0-rc4 + * Fix: use after free in ring buffer clients + * Fix: Add statedump exit so module is not permanent + * Cleanup: move callback init to static initialization + * Fix: OOT lttng-statedump tracepoints not visible with signed kernels + 2014-01-29 LTTng modules 2.4.0-rc3 * Fix: tracepoint event name mapping at unregister * Fix: tracepoint name remapping