Add helper functions to read and write (unsigned) long values directly from/to files. One of the kernel interfaces uses hex strings, so we need to allow passing a base too. Signed-off-by: Benjamin Gray <bgray@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230203003947.38033-5-bgray@linux.ibm.com |
||
|---|---|---|
| .. | ||
| ebb | ||
| event_code_tests | ||
| sampling_tests | ||
| .gitignore | ||
| Makefile | ||
| branch_loops.S | ||
| count_instructions.c | ||
| count_stcx_fail.c | ||
| event.c | ||
| event.h | ||
| l3_bank_test.c | ||
| lib.c | ||
| lib.h | ||
| loop.S | ||
| per_event_excludes.c | ||