Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions loongarch64/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CDO_ENV=ALT_STRUCT_SIZE=12 BUG_STRUCT_SIZE=12 EX_STRUCT_SIZE=12 JUMP_STRUCT_SIZE=16 ORC_STRUCT_SIZE=8

include ../../Makefile.include
Binary file added loongarch64/cmdline-string.ORIG.o
Binary file not shown.
Binary file added loongarch64/cmdline-string.PATCHED.o
Binary file not shown.
5 changes: 5 additions & 0 deletions loongarch64/cmdline-string.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
source $KPATCH_TEST_LIBRARY

# 0000000000000000 t cmdline_proc_show
assert_num_funcs 1
Binary file added loongarch64/data-new.ORIG.o
Binary file not shown.
Binary file added loongarch64/data-new.PATCHED.o
Binary file not shown.
6 changes: 6 additions & 0 deletions loongarch64/data-new.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
source $KPATCH_TEST_LIBRARY

# 0000000000000008 t meminfo_proc_show

assert_num_funcs 1
Binary file added loongarch64/gcc-static-local-var-6.ORIG.o
Binary file not shown.
Binary file added loongarch64/gcc-static-local-var-6.PATCHED.o
Binary file not shown.
6 changes: 6 additions & 0 deletions loongarch64/gcc-static-local-var-6.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
source $KPATCH_TEST_LIBRARY

# 0000000000000008 t __nf_ip6_route

assert_num_funcs 1
Binary file added loongarch64/new-function.ORIG.o
Binary file not shown.
Binary file added loongarch64/new-function.PATCHED.o
Binary file not shown.
7 changes: 7 additions & 0 deletions loongarch64/new-function.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
source $KPATCH_TEST_LIBRARY

# 0000000000000008 t kpatch_n_tty_write
# 0000000000000008 t n_tty_write

assert_num_funcs 2
Binary file added loongarch64/proc-version.ORIG.o
Binary file not shown.
Binary file added loongarch64/proc-version.PATCHED.o
Binary file not shown.
5 changes: 5 additions & 0 deletions loongarch64/proc-version.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
source $KPATCH_TEST_LIBRARY

# 0000000000000000 t version_proc_show
assert_num_funcs 1