History

rv: Export task monitor slot and react symbols

Export rv_get_task_monitor_slot, rv_put_task_monitor_slot, and rv_react to GPL modules so they can be accessed by KUnit and future monitors built as kernel modules.

Gabriele Monaco committed 3 months ago

Commit be22e551 parent 7b624622 files · +3 −0Browse files

Showing the changes to kernel (2 of 2 files). Show all

Unified · Split

2 files
  1. kernel/trace/rv/rv.c +2 −0
  2. kernel/trace/rv/rv_reactors.c +1 −0
kernel/trace/rv/rv.c+2−0
@@ -181,6 +181,7 @@ int rv_get_task_monitor_slot(void) · 180 unmodified lines
181181
182182 return -EBUSY;
183183 }
184+EXPORT_SYMBOL_GPL(rv_get_task_monitor_slot);
184185
185186 void rv_put_task_monitor_slot(int slot)
186187 {
@@ -197,6 +198,7 @@ void rv_put_task_monitor_slot(int slot) · 10 unmodified lines
197198
198199 task_monitor_slots[slot] = false;
199200 }
201+EXPORT_SYMBOL_GPL(rv_put_task_monitor_slot);
200202
201203 /*
202204 * Monitors with a parent are nested,
kernel/trace/rv/rv_reactors.c+1−0
@@ -479,3 +479,4 @@ void rv_react(struct rv_monitor *monitor, const char *msg, ...) · 478 unmodified lines
479479
480480 va_end(args);
481481 }
482+EXPORT_SYMBOL_GPL(rv_react);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t