Skip to content

Releases: liuhangbin/lock-trace

lock-trace v0.1.1

Choose a tag to compare

@liuhangbin liuhangbin released this 16 Sep 13:22

Added

  • Interactive Mode: New -i/--interactive flag to enter interactive shell mode
  • Stack-based Filtering: Include/exclude specific call stacks by number using include stack and exclude stack commands
  • Result Tracking: Track and reference previous command results with numbered indices using track command
  • Persistent Configuration: Set parameters (max-depth, tree, verbose, database-path) that persist across commands in interactive mode
  • Enhanced Command System: Interactive commands for configuration, filtering, and result management
  • Stack Numbering: Automatic numbering of call stacks for easy reference and filtering
  • Initial Command Support: Execute commands immediately upon entering interactive mode
  • Comprehensive Help: Built-in help system for interactive mode commands

Fixed

  • max-depth: set max depth default to 1

lock-trace v0.1.0

Choose a tag to compare

@liuhangbin liuhangbin released this 09 Sep 14:32

Added

  • Static analysis tool for kernel function call stacks and lock contexts
  • CLI commands: callers, callees, lock-check, lock-context, unprotected, stats
  • Multiple display modes: default (unique paths), tree view, verbose (all paths)
  • Function and directory filtering with --exclude-functions and --exclude-directories
  • Lock analysis for spinlock, mutex, rwlock, RCU, semaphore, and custom locks
  • Intelligent lock matching with generic filters (spin, rcu, mutex, etc.)
  • Asynchronous operations for improved performance
  • Callback function detection and analysis