• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

perf-event: a Rust interface to Linux performance monitoring

perf-event: a Rust interface to Linux performance monitoring

example workflow

This is a nascent project. Tests are lacking. The design may change.

This repository holds the source code for the perf_event and perf_event_open_sys crates, which provide access to performance monitoring hardware and software on Linux.

Even though Windows and Mac don't have the perf_event_open system call, the perf_event_open_sys crate still builds on those platforms: the type definitions in the bindings module can be useful to code that needs to parse perf-related data produced on Linux or Android systems. The syscall and ioctl wrapper functions are not available.

See the crates' subdirectories for details.

More Repositories

1

context-switch

Comparison of Rust async and Linux thread context switch time.
Rust
708
star
2

golly

Golly, a Game of Life simulator
C++
45
star
3

DebuggerDocs

Mozilla JavaScript Debugging Documentation
36
star
4

rbattle

Simple multiplayer real-time strategy game in Rust, for OSCON 2017.
Rust
34
star
5

chat

Toy chat client and servers, in both sync and async style.
Rust
12
star
6

exercises

Exercises for Rust tutorial
Rust
12
star
7

spiral-calendar

Python code to generate a spiral-shaped calendar in SVG.
Python
7
star
8

webgpu-diagrams

Stuff to explain, clarify, and illustrate WebGPU, wgpu, and Naga.
4
star
9

serve-live

Serve a directory of static files, with server-sent events for automatic refresh.
Rust
4
star
10

julia-glium

GPU-based live Julia set plotter, written in Rust using the glium OpenGL bindings.
Rust
4
star
11

idutils

GNU idutils
C
4
star
12

perf-event-open-sys

Direct, unsafe Rust bindings for Linux's `perf_event_open` system call.
Rust
4
star
13

pdxrust-glium

Demo code for PDXRust Glium presentation.
Rust
3
star
14

laproscope

A horribly insecure Firefox add-on for debugging chrome code.
JavaScript
3
star
15

advent-of-code-2018

Solutions for Advent of Code 2018 puzzles.
Rust
3
star
16

spirv-mode

Emacs major mode for editing SPIR-V assembly.
Emacs Lisp
3
star
17

coop

A (hopefully) simple exercise for learning assembly language.
C
3
star
18

ordered_mutex

Mutex wrapper that enforces lock ordering, to detect potential deadlocks.
Rust
3
star
19

benchmark-debugger

Simple benchmarks for SpiderMonkey's Debugger API
Shell
2
star
20

play-wasm

Learning wasm from the ground up.
JavaScript
2
star
21

mozaloha-lightning-talk

Slides WebGPU lightning talk at MozAloha 2022
Shell
2
star
22

advent-of-code-2021

Solutions to Advent of Code 2021 puzzles.
Rust
2
star
23

shared-take-once

`SharedTakeOnce`: a heap-allocated, shared box that can be consumed.
Rust
1
star
24

hack-webgpu

Experiments with the WebGPU JS API.
JavaScript
1
star
25

DebuggerPresentation

Materials for explaining the Mozilla Debugger API
1
star
26

play-wayland

Experimentation with Wayland
Rust
1
star
27

thread-memory

Measuring the minimal memory overhead of a Linux thread
C
1
star
28

wscript

wgpu scripting language.
Rust
1
star
29

fast-bernoulli-trial

Efficient random sampling with a specified probability, in Rust.
Rust
1
star
30

workflow-vm-exploration

What are the properties of the machines GitHub workflows run on?
C
1
star
31

chat-mio

A trivial chat program in Rust, using the mio asynchronous I/O crate.
Rust
1
star
32

fxsnapshot

Query tool for Firefox heap snapshots.
Rust
1
star
33

gen-naga-abstract-type-tests

Generating tests for WGSL automatic conversions
Rust
1
star
34

mock-executor

A hand-written executor for Rust async tasks, and a MockFuture type to use for the primitive futures.
Rust
1
star