Commit 741a900
arm64/ptrace: Split report_syscall()
The generic syscall entry code has the form:
| syscall_trace_enter()
| {
| ptrace_report_syscall_entry()
| }
|
| syscall_exit_work()
| {
| ptrace_report_syscall_exit()
| }
In preparation for moving arm64 over to the generic entry code, split
report_syscall() to two separate enter and exit functions to align
the structure of the arm64 code with syscall_trace_enter() and
syscall_exit_work() from the generic entry code.
No functional changes.
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>1 parent e7e7afd commit 741a900
1 file changed
Lines changed: 29 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
2346 | | - | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2347 | 2349 | | |
2348 | | - | |
2349 | 2350 | | |
2350 | 2351 | | |
2351 | 2352 | | |
| |||
2364 | 2365 | | |
2365 | 2366 | | |
2366 | 2367 | | |
2367 | | - | |
2368 | | - | |
2369 | | - | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
2370 | 2371 | | |
2371 | | - | |
2372 | | - | |
2373 | | - | |
2374 | | - | |
2375 | | - | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
| 2385 | + | |
| 2386 | + | |
| 2387 | + | |
| 2388 | + | |
| 2389 | + | |
| 2390 | + | |
| 2391 | + | |
| 2392 | + | |
2376 | 2393 | | |
2377 | 2394 | | |
2378 | 2395 | | |
| |||
2392 | 2409 | | |
2393 | 2410 | | |
2394 | 2411 | | |
2395 | | - | |
| 2412 | + | |
2396 | 2413 | | |
2397 | 2414 | | |
2398 | 2415 | | |
| |||
2420 | 2437 | | |
2421 | 2438 | | |
2422 | 2439 | | |
2423 | | - | |
| 2440 | + | |
2424 | 2441 | | |
2425 | 2442 | | |
2426 | 2443 | | |
| |||
0 commit comments