strace/xlat/perf_sw_ids.in
Dmitry V. Levin c7c7f94d83 xlat: add comments to all sorted xlat files
Add a short comment describing the method used to sort entries.

* xlat/ethernet_protocols.in: Update the comment about sorting.
* xlat/fsmagic.in: Likewise.
* xlat/evdev_keycode.in: Add a comment about sorting.
* xlat/hw_breakpoint_type.in: Likewise.
* xlat/perf_hw_cache_id.in: Likewise.
* xlat/perf_hw_cache_op_id.in: Likewise.
* xlat/perf_hw_cache_op_result_id.in: Likewise.
* xlat/perf_hw_id.in: Likewise.
* xlat/perf_sw_ids.in: Likewise.
* xlat/perf_type_id.in: Likewise.
2018-03-09 02:48:30 +00:00

13 lines
393 B
Plaintext

/* sort -k2,2n */
PERF_COUNT_SW_CPU_CLOCK 0
PERF_COUNT_SW_TASK_CLOCK 1
PERF_COUNT_SW_PAGE_FAULTS 2
PERF_COUNT_SW_CONTEXT_SWITCHES 3
PERF_COUNT_SW_CPU_MIGRATIONS 4
PERF_COUNT_SW_PAGE_FAULTS_MIN 5
PERF_COUNT_SW_PAGE_FAULTS_MAJ 6
PERF_COUNT_SW_ALIGNMENT_FAULTS 7
PERF_COUNT_SW_EMULATION_FAULTS 8
PERF_COUNT_SW_DUMMY 9
PERF_COUNT_SW_BPF_OUTPUT 10