test.py 409 Bytes
Newer Older
1
2
3
4
5
6
7
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


import darshan.backend.cffi_backend as backend


8
log = backend.log_open("example.darshan")
9
10
11
12
13
14
15
16
mods = backend.log_get_modules(log)


nrecs = backend.log_get_name_records(log)


# reliable hashes: 15920181672442173319 (stdout), 14734109647742566553 (stdin), 7238257241479193519 (stderr)
selected_nrecs = backend.log_lookup_name_records(log, [15920181672442173319])