Skip to content

Commit

Permalink
release: v3.0.0a1
Browse files Browse the repository at this point in the history
  • Loading branch information
P403n1x87 committed Apr 25, 2021
1 parent 94a56f1 commit 9c2f6a6
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 10 deletions.
17 changes: 16 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
2021-04-25 v3.0.0a1

The format of the emitted samples has been changed into something easier to
parse.

The sleepless mode now gives an estimate of CPU time.

Binaries with arbitrary names are now supported, allowing Austin to easily
profile applications like uWSGI.

Windows compatibility has been enhanced to support wrapper launchers.

Bugfix: report the correct process ID on macOS.


2020-12-30 v2.1.1

Bugfix: Fix symbol name clash on BSD systems with strtonum.
Expand All @@ -10,7 +25,7 @@
Allowed specifying argument for time-like parameters using units (e.g. 10ms).

Error reporting has been made more accurate and informative.

Bugfix: Fixed line number reporting.


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Austin -- A frame stack sampler for Python.
-o, --output=FILE Specify an output file for the collected samples.
-p, --pid=PID The the ID of the process to which Austin should
attach.
-s, --sleepless Suppress idle samples.
-s, --sleepless Suppress idle samples to estimate CPU time.
-t, --timeout=n_ms Start up wait time in milliseconds (default is
100). Accepted units: s, ms.
-x, --exposure=n_sec Sample for n_sec seconds only.
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([austin], [2.1.1], [https://github.com/p403n1x87/austin/issues])
AC_INIT([austin], [3.0.0a1], [https://github.com/p403n1x87/austin/issues])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: austin
version: '2.1.1+git'
version: '3.0.0a1+git'
summary: A Python frame stack sampler for CPython
description: |
Austin is a Python frame stack sampler for CPython written in pure C. It
Expand Down
8 changes: 4 additions & 4 deletions src/austin.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH AUSTIN "1" "December 2020" "austin 2.1.1" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH AUSTIN "1" "April 2021" "austin 3.0.0a1" "User Commands"
.SH NAME
austin \- manual page for austin 2.1.1
austin \- manual page for austin 3.0.0a1
.SH SYNOPSIS
.B austin
[\fI\,OPTION\/\fR...] \fI\,command \/\fR[\fI\,ARG\/\fR...]
Expand Down Expand Up @@ -36,7 +36,7 @@ The the ID of the process to which Austin should
attach.
.TP
\fB\-s\fR, \fB\-\-sleepless\fR
Suppress idle samples.
Suppress idle samples to estimate CPU time.
.TP
\fB\-t\fR, \fB\-\-timeout\fR=\fI\,n_ms\/\fR
Start up wait time in milliseconds (default is
Expand Down
2 changes: 1 addition & 1 deletion src/austin.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
#define AUSTIN_H

#define PROGRAM_NAME "austin"
#define VERSION "2.1.2"
#define VERSION "3.0.0a1"

#endif
2 changes: 1 addition & 1 deletion test/test_error.bats
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ load "common"
@test "Test not Python nor Python children" {
log "Test Austin with a non-Python command that spawns no Python children"

run src/austin -C cat
run src/austin -C bash -c "sleep 1"

assert_status 39
assert_output "not a Python" || assert_output "Cannot launch"
Expand Down

0 comments on commit 9c2f6a6

Please sign in to comment.