android_kernel_sony_sdm845/kernel/trace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tejun Heo 41b248b887 BACKPORT: kernfs: convert kernfs_node->id from union kernfs_node_id to u64
kernfs_node->id is currently a union kernfs_node_id which represents
either a 32bit (ino, gen) pair or u64 value.  I can't see much value
in the usage of the union - all that's needed is a 64bit ID which the
current code is already limited to.  Using a union makes the code
unnecessarily complicated and prevents using 64bit ino without adding
practical benefits.

This patch drops union kernfs_node_id and makes kernfs_node->id a u64.
ino is stored in the lower 32bits and gen upper.  Accessors -
kernfs[_id]_ino() and kernfs[_id]_gen() - are added to retrieve the
ino and gen.  This simplifies ID handling less cumbersome and will
allow using 64bit inos on supported archs.

This patch doesn't make any functional changes.

Change-Id: I289fc21fdfd22b7c7cae73626665b0cb100a0c5f
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 18:02:33 +07:00
..
blktrace.c BACKPORT: kernfs: convert kernfs_node->id from union kernfs_node_id to u64 2026-05-15 18:02:33 +07:00
bpf_trace.c BACKPORT: bpf: Allow specifying a BTF ID per argument in function protos 2026-05-15 17:59:31 +07:00
ftrace.c UPSTREAM: ftrace: Add modify_ftrace_direct() 2026-05-15 17:59:19 +07:00
gpu-traces.c
ipc_logging.c
ipc_logging_debug.c
ipc_logging_private.h
Kconfig UPSTREAM: ftrace: Add register_ftrace_direct() 2026-05-15 17:59:19 +07:00
Makefile
msm_rtb.c
power-traces.c
ring_buffer.c ring_buffer: Do not deactivate non-existant pages 2022-11-25 17:35:40 +01:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-20 2023-01-19 15:42:12 +01:00
trace.h Merge remote-tracking branch 'common/android-4.9-q' into lineage-18.1-caf-sdm845 2021-12-27 02:07:39 +02:00
trace_benchmark.c
trace_benchmark.h
trace_branch.c
trace_clock.c tracing: Do no increment trace_clock_global() by one 2021-06-30 08:49:17 -04:00
trace_cpu_freq_switch.c
trace_entries.h tracing: Set kernel_stack's caller size properly 2020-10-01 20:40:05 +02:00
trace_event_perf.c UPSTREAM: perf/ftrace: Small cleanup 2026-05-15 17:59:19 +07:00
trace_events.c Merge remote-tracking branch 'common/android-4.9-q' into lineage-18.1-caf-sdm845 2021-12-27 02:07:39 +02:00
trace_events_filter.c
trace_events_filter_test.h
trace_events_hist.c tracing: Do not reference char * as a string in histograms 2021-07-20 16:21:11 +02:00
trace_events_trigger.c tracing: Fix event trigger to accept redundant spaces 2020-06-30 15:38:45 -04:00
trace_export.c
trace_functions.c tracing: Have all levels of checks prevent recursion 2021-10-27 09:34:01 +02:00
trace_functions_graph.c
trace_hwlat.c tracing/hwlat: Honor the tracing_cpumask 2020-08-26 10:29:03 +02:00
trace_irqsoff.c
trace_kdb.c
trace_kprobe.c UPSTREAM: bpf: introduce bpf subcommand BPF_TASK_FD_QUERY 2026-05-15 17:56:33 +07:00
trace_mmiotrace.c
trace_nop.c
trace_output.c UPSTREAM: trace: add variant without spacing in trace_print_hex_seq 2026-05-15 17:54:49 +07:00
trace_output.h
trace_printk.c
trace_probe.c
trace_probe.h BACKPORT: bpf: add a bpf_override_function helper 2026-05-15 17:55:59 +07:00
trace_sched_switch.c
trace_sched_wakeup.c
trace_selftest.c ftrace: Handle tracing when switching between context 2020-11-10 10:24:02 +01:00
trace_selftest_dynamic.c
trace_seq.c
trace_stack.c
trace_stat.c
trace_stat.h
trace_syscalls.c UPSTREAM: perf/bpf: fix a clang compilation issue 2026-05-15 17:55:22 +07:00
trace_uprobe.c UPSTREAM: bpf: introduce bpf subcommand BPF_TASK_FD_QUERY 2026-05-15 17:56:33 +07:00
tracing_map.c BACKPORT: atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless() 2026-05-15 17:56:39 +07:00
tracing_map.h