Repository navigation
Commit 13600dd
tracing: Have traceon and traceoff trigger honor the instance
commit 302e9ed upstream.
If a trigger is set on an event to disable or enable tracing within an
instance, then tracing should be disabled or enabled in the instance and
not at the top level, which is confusing to users.
Link: https://lkml.kernel.org/r/20220223223837.14f94ec3@rorschach.local.home
Cc: stable@vger.kernel.org
Fixes: ae63b31 ("tracing: Separate out trace events from global variables")
Tested-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Reviewed-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 950f98c commit 13600dd
1 file changed
Lines changed: 46 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
958 | 968 | | |
959 | 969 | | |
960 | 970 | | |
| |||
966 | 976 | | |
967 | 977 | | |
968 | 978 | | |
969 | | - | |
970 | | - | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
971 | 988 | | |
972 | 989 | | |
973 | 990 | | |
974 | 991 | | |
975 | 992 | | |
976 | 993 | | |
977 | 994 | | |
978 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
979 | 999 | | |
980 | 1000 | | |
981 | 1001 | | |
982 | 1002 | | |
983 | 1003 | | |
984 | 1004 | | |
985 | 1005 | | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
986 | 1016 | | |
987 | 1017 | | |
988 | 1018 | | |
| |||
994 | 1024 | | |
995 | 1025 | | |
996 | 1026 | | |
997 | | - | |
998 | | - | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
999 | 1036 | | |
1000 | 1037 | | |
1001 | 1038 | | |
1002 | 1039 | | |
1003 | 1040 | | |
1004 | 1041 | | |
1005 | 1042 | | |
1006 | | - | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1007 | 1047 | | |
1008 | 1048 | | |
1009 | 1049 | | |
| |||
0 commit comments