aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/perf_event.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index ab72f56eb372..243286a8ded7 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -564,26 +564,26 @@ struct pmu {
564 struct list_head entry; 564 struct list_head entry;
565 565
566 /* 566 /*
567 * Should return -ENOENT when the @event doesn't match this pmu 567 * Should return -ENOENT when the @event doesn't match this PMU.
568 */ 568 */
569 int (*event_init) (struct perf_event *event); 569 int (*event_init) (struct perf_event *event);
570 570
571 int (*enable) (struct perf_event *event); 571 int (*enable) (struct perf_event *event);
572 void (*disable) (struct perf_event *event); 572 void (*disable) (struct perf_event *event);
573 int (*start) (struct perf_event *event); 573 int (*start) (struct perf_event *event);
574 void (*stop) (struct perf_event *event); 574 void (*stop) (struct perf_event *event);
575 void (*read) (struct perf_event *event); 575 void (*read) (struct perf_event *event);
576 void (*unthrottle) (struct perf_event *event); 576 void (*unthrottle) (struct perf_event *event);
577 577
578 /* 578 /*
579 * Group events scheduling is treated as a transaction, add group 579 * Group events scheduling is treated as a transaction, add
580 * events as a whole and perform one schedulability test. If the test 580 * group events as a whole and perform one schedulability test.
581 * fails, roll back the whole group 581 * If the test fails, roll back the whole group
582 */ 582 */
583 583
584 /* 584 /*
585 * Start the transaction, after this ->enable() doesn't need 585 * Start the transaction, after this ->enable() doesn't need to
586 * to do schedulability tests. 586 * do schedulability tests.
587 */ 587 */
588 void (*start_txn) (struct pmu *pmu); 588 void (*start_txn) (struct pmu *pmu);
589 /* 589 /*
@@ -594,8 +594,8 @@ struct pmu {
594 */ 594 */
595 int (*commit_txn) (struct pmu *pmu); 595 int (*commit_txn) (struct pmu *pmu);
596 /* 596 /*
597 * Will cancel the transaction, assumes ->disable() is called for 597 * Will cancel the transaction, assumes ->disable() is called
598 * each successfull ->enable() during the transaction. 598 * for each successfull ->enable() during the transaction.
599 */ 599 */
600 void (*cancel_txn) (struct pmu *pmu); 600 void (*cancel_txn) (struct pmu *pmu);
601}; 601};