Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
run: python -m pip install ".[test]"

- name: Run Python tests
run: python -m pytest -v tests/python_bindings_tests.py tests/profiler_loader_tests.py
run: python -m pytest -v tests/python_bindings_tests.py
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
CIBW_TEST_COMMAND: >-
python -c "import calf, google.protobuf; from calf.protobuf import calf_trace_pb2; assert calf.__version__ == '${{ needs.release-version.outputs.version }}'; assert calf_trace_pb2.TraceFile() is not None"
python -c "import calf; assert calf.__version__ == '${{ needs.release-version.outputs.version }}'"
MACOSX_DEPLOYMENT_TARGET: "15.0"
run: python -m cibuildwheel --output-dir wheelhouse

Expand Down
26 changes: 2 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,12 @@ writes standard `.perfetto-trace` protobuf streams that open directly in the
while `LOG` messages are instant TrackEvents with source locations and an
`args` debug annotation.

## CALF Inspector

CALF includes an interactive Inspector for exploring and analysing structured
trace logs. Its responsive web interface provides call-tree navigation, lazy
trace loading, search, timing details, and aggregated statistics.

See the [CALF Inspector documentation](profiler/README.md) for installation,
usage and web-server options.


## Requirements

- C++17 or later
- CMake 3.16 or later
- Linux for `SyscallLogger` backend
- Python 3.10 or later for the Python bindings and Inspector
- Python 3.10 or later for the Python bindings

## Testing

Expand Down Expand Up @@ -185,8 +175,7 @@ cmake -S . -B build \

### Python bindings

The Python package includes bindings for the STL file logger and stdout logger,
as well as the CALF Inspector.
The Python package includes bindings for the STL file logger and stdout logger.

#### Installation

Expand Down Expand Up @@ -263,17 +252,6 @@ calf.StdoutLogger.print("finished")
Available colors are `CLI_LEVEL_RESET`, `CLI_LEVEL_STATUS`, `CLI_LEVEL_INFO`,
`CLI_LEVEL_WARNING`, and `CLI_LEVEL_ERROR`.

#### Inspector

Installing the package also installs the bundled CALF Inspector:

```bash
calf calf_logs
```

It can also be launched with `python -m calf`. See the
[CALF Inspector documentation](profiler/README.md) for all options.

### Server / non-interceptor code

Include `StlLogger.h`. Logging is enabled by default on every thread.
Expand Down
5 changes: 0 additions & 5 deletions bindings/calf/__main__.py

This file was deleted.

1 change: 0 additions & 1 deletion bindings/calf/protobuf/__init__.py

This file was deleted.

50 changes: 0 additions & 50 deletions bindings/calf/protobuf/calf_trace_pb2.py

This file was deleted.

128 changes: 0 additions & 128 deletions profiler/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions profiler/__init__.py

This file was deleted.

58 changes: 0 additions & 58 deletions profiler/__main__.py

This file was deleted.

Loading
Loading