aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/build-id.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-26perf tools: Don't read build-ids from non-regular filesJames Clark1-2/+2
2025-09-19perf build-id: Ensure snprintf string is empty when size is 0Ian Rogers1-0/+7
2025-08-25perf symbol: Add blocking argument to filename__read_build_idIan Rogers1-2/+2
2025-07-31perf record: Cache build-ID of hit DSOs onlyNamhyung Kim1-1/+1
2025-07-25perf dso: Move build_id to dso_idIan Rogers1-2/+2
2025-07-25perf build-id: Ensure struct build_id is empty before useIan Rogers1-3/+3
2025-07-25perf build-id: Mark DSO in sample callchainsIan Rogers1-1/+16
2025-07-25perf build-id: Change sprintf functions to snprintfIan Rogers1-20/+13
2025-07-24perf build-id: Truncate to avoid overflowing the build_id dataIan Rogers1-1/+4
2024-12-02perf tools: Fix build-id event recordingNamhyung Kim1-2/+2
2024-09-10perf inject: Fix build ID injectionIan Rogers1-3/+3
2024-08-12perf buildid-list: Use perf_tool__initIan Rogers1-32/+0
2024-08-12perf tool: Constify tool pointersIan Rogers1-2/+2
2024-05-06perf dso: Add reference count checking and accessor functionsIan Rogers1-19/+19
2024-04-12perf dsos: Switch more loops to dsos__for_each_dso()Ian Rogers1-1/+1
2024-04-12perf dsos: Introduce dsos__for_each_dso()Ian Rogers1-34/+42
2024-04-12perf dsos: Attempt to better abstract DSOs internalsIan Rogers1-37/+1
2023-08-25perf build-id: Simplify build_id_cache__cachedir()Ian Rogers1-4/+2
2023-06-12perf addr_location: Add init/exit/copy functionsIan Rogers1-0/+2
2023-04-04perf map: Add accessor for dsoIan Rogers1-1/+1
2023-01-18perf buildid-cache: Fix the file mode with copyfile() while adding file to bu...Athira Rajeev1-3/+7
2022-10-04perf dso: Hold lock when accessing nsinfoIan Rogers1-3/+9
2022-08-12perf build-id: Print debuginfod queries if -v option is usedMartin Liška1-1/+5
2022-08-12perf build-id: Fix coding style, replace 8 spaces by tabsMartin Liška1-11/+11
2022-07-20perf buildid-cache: Do not require purge files to also be in the file systemAdrian Hunter1-5/+2
2022-07-20perf buildid-cache: Add guestmount'd files to the build ID cacheAdrian Hunter1-16/+51
2022-07-20perf tools: Export dsos__for_each_with_build_id()Adrian Hunter1-6/+0
2022-06-26perf build-id: Fix caching files with a wrong build IDAdrian Hunter1-0/+28
2022-03-22perf build-id: Fix spelling mistake "Cant" -> "Can't"Colin Ian King1-1/+1
2022-02-11perf namespaces: Add functions to access nsinfoIan Rogers1-2/+2
2021-02-18perf buildid-cache: Don't skip 16-byte build-idsNicholas Fraser1-2/+3
2020-11-27perf build-id: Add build_id_cache__add functionJiri Olsa1-15/+27
2020-11-27perf build-id: Add __perf_session__cache_build_ids functionJiri Olsa1-2/+8
2020-11-27perf build-id: Use machine__for_each_dso in perf_session__cache_build_idsJiri Olsa1-25/+16
2020-11-27perf symbols: Try to load vmlinux from buildid databaseJiri Olsa1-3/+10
2020-11-27perf build-id: Add check for existing link in buildid dirJiri Olsa1-1/+18
2020-11-27perf tools: Add build_id__is_defined functionJiri Olsa1-0/+6
2020-11-03perf tools: Initialize output buffer in build_id__sprintfJiri Olsa1-0/+2
2020-10-14perf tools: Add size to 'struct perf_record_header_build_id'Jiri Olsa1-3/+5
2020-10-14perf tools: Pass build_id object to build_id__sprintf()Jiri Olsa1-11/+19
2020-10-14perf tools: Pass build id object to sysfs__read_build_id()Jiri Olsa1-3/+3
2020-10-14perf tools: Pass build_id object to filename__read_build_id()Jiri Olsa1-5/+3
2020-10-14perf tools: Use build_id object in dsoJiri Olsa1-3/+3
2020-08-14perf build-ids: Fall back to debuginfod query if debuginfo not foundFrank Ch. Eigler1-0/+19
2019-09-25perf copyfile: Move copyfile routines to separate filesArnaldo Carvalho de Melo1-1/+2
2019-09-20perf tools: Remove util.h from where it is not neededArnaldo Carvalho de Melo1-1/+1
2019-08-31perf dso: Adopt DSO related macros from symbol.hArnaldo Carvalho de Melo1-0/+1
2019-08-29libperf: Rename the PERF_RECORD_ structs to have a "perf" prefixJiri Olsa1-1/+1
2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa1-1/+1
2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo1-0/+1
2019-06-25tools perf: Move from sane_ctype.h obtained from git to the Linux's originalArnaldo Carvalho de Melo1-1/+1
2019-03-19perf build-id: Fix memory leak in print_sdt_events()Changbin Du1-0/+1
2019-02-06pref tools: Add missing map.h includesArnaldo Carvalho de Melo1-0/+1
2019-01-25perf machine: Use cached rbtreesDavidlohr Bueso1-4/+8
2019-01-25perf namespaces: Remove namespaces.h from .h headersArnaldo Carvalho de Melo1-0/+1
2018-04-26perf thread: Make thread__find_map() return the mapArnaldo Carvalho de Melo1-3/+1
2018-04-26perf thread: Introduce thread__find_map()Arnaldo Carvalho de Melo1-1/+1
2018-02-16perf machine: Move kernel mmap name into struct machineJiri Olsa1-7/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-18perf header: Add struct feat_fd for writeDavid Carrillo-Cisneros1-3/+5
2017-07-18perf header: Revamp do_write()David Carrillo-Cisneros1-1/+1
2017-07-18perf buildid-cache: Cache debuginfoKrister Johansen1-5/+67
2017-07-18perf buildid-cache: Support binary objects from other namespacesKrister Johansen1-17/+30
2017-06-08perf symbols: Kill dso__build_id_is_kmod()Namhyung Kim1-45/+0
2017-04-24perf tools: Use just forward declarations for struct thread where possibleArnaldo Carvalho de Melo1-0/+1
2017-04-24perf tools: Remove string.h, unistd.h and sys/stat.h from util.hArnaldo Carvalho de Melo1-0/+2
2017-04-19perf tools: Remove include dirent.h from util.hArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Remove misplaced __maybe_unused in some functionsArnaldo Carvalho de Melo1-2/+2
2017-04-19perf tools: Move path related functions to util/path.hArnaldo Carvalho de Melo1-0/+1
2017-04-19perf str{filter,list}: Disentangle headersArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Include errno.h where neededArnaldo Carvalho de Melo1-0/+1
2017-04-19perf tools: Move sane ctype stuff from util.h to sane_ctype.hArnaldo Carvalho de Melo1-0/+1
2017-03-27perf buildid: Do not assume that readlink() returns a null terminated stringTommi Rantala1-1/+5
2017-03-27perf buildid: Do not update SDT cache with null filenameTommi Rantala1-1/+1
2016-09-29perf probe: Increase debug level of SDT debug messagesAdrian Hunter1-2/+2
2016-07-13perf probe: Support @BUILDID or @FILE suffix for SDT eventsMasami Hiramatsu1-0/+43
2016-07-13perf probe: Make --list show only available cached eventsMasami Hiramatsu1-1/+32
2016-07-12perf tools: Add feature detection for gelf_getnote()Arnaldo Carvalho de Melo1-1/+1
2016-07-04perf buildid-cache: Scan and import user SDT events to probe cacheMasami Hiramatsu1-0/+30
2016-07-01perf probe: Show all cached probesMasami Hiramatsu1-2/+106
2016-06-14perf buildid: Rename and export build_id_cache__cachedir()Masami Hiramatsu1-7/+5
2016-06-07perf tools: Fix crash in build_id_cache__kallsyms_path()Wang Nan1-7/+4
2016-05-30perf buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildidMasami Hiramatsu1-27/+88
2016-05-16perf symbols: Store vdso buildid unconditionallyHe Kuang1-1/+1
2016-05-11perf buildid-cache: Use lsdir() for looking up buildid cachesMasami Hiramatsu1-26/+4
2016-04-25perf buildid: Fix off-by-one in write_buildid()Andrey Ryabinin1-3/+3
2016-03-23perf tools: Add cpumode to struct perf_sampleArnaldo Carvalho de Melo1-2/+1
2016-02-12perf symbols: Fix symbols searching for module in buildid-cacheWang Nan1-0/+44
2016-01-29perf buildid: Fix cpumode of buildid eventWang Nan1-1/+5
2015-12-07perf buildid-list: Show running kernel build id fixMichael Petlan1-1/+1
2015-11-13perf buildid-list: Requires ordered eventsAdrian Hunter1-0/+1
2015-08-28perf buildid: Introduce sysfs/filename__sprintf_build_idMasami Hiramatsu1-0/+32
2015-07-20perf buildid: Use SBUILD_ID_SIZE macroMasami Hiramatsu1-2/+2
2015-07-20perf strlist: Make dupstr be the default and part of an extensible config parmArnaldo Carvalho de Melo1-1/+1
2015-05-29perf machine: No need to have two DSOs listsArnaldo Carvalho de Melo1-43/+16
2015-05-08perf machine: Protect the machine->threads with a rwlockArnaldo Carvalho de Melo1-1/+4
2015-04-10perf buildid-list: Fix segfault when show DSOs with hitsHe Kuang1-6/+2
2015-03-20perf tools: Fix race in build_id_cache__add_s()Milos Vyletel1-1/+2
2015-03-03perf tools: Reference count struct threadArnaldo Carvalho de Melo1-2/+3
2015-02-27perf buildid-cache: Add --purge FILE to remove all caches of FILEMasami Hiramatsu1-17/+76
2015-02-27perf buildid-cache: Add new buildid cache if update target is not cachedMasami Hiramatsu1-0/+12
2015-02-11perf buildid-cache: Consolidate .build-id cache path generatorsMasami Hiramatsu1-17/+41
2015-02-11perf buildid-cache: Remove unneeded debugdir parametersMasami Hiramatsu1-24/+20
2014-12-09perf buildid-cache: Remove extra debugdir variablesJiri Olsa1-6/+3
2014-11-19perf build-id: Move disable_buildid_cache() to util/build-id.cNamhyung Kim1-0/+11
2014-11-05perf build-id: Move build-id related functions to util/build-id.cNamhyung Kim1-0/+334
2014-10-29perf tools: A thread's machine can be found via thread->mg->machineArnaldo Carvalho de Melo1-2/+1
2014-05-12perf tools: Use tid for finding threadNamhyung Kim1-1/+1
2013-12-10perf symbols: Constify some DSO methods parametersArnaldo Carvalho de Melo1-1/+1
2013-10-23perf tools: Stop using 'self' in some more placesArnaldo Carvalho de Melo1-3/+3
2013-09-11perf tools: Add attr->mmap2 supportStephane Eranian1-0/+1
2013-08-29perf tools: Remove references to struct ip_eventAdrian Hunter1-4/+4
2013-08-29perf tools: change machine__findnew_thread() to set thread pidAdrian Hunter1-2/+5
2013-08-12perf tools: Remove filter parameter of thread__find_addr_map()Adrian Hunter1-1/+1
2013-08-07perf symbols: Load kernel maps before usingAdrian Hunter1-1/+1
2012-10-29perf tools: Move build_id__sprintf into build-id objectJiri Olsa1-0/+15
2012-10-26perf inject: Mark a dso if it's usedAndrew Vagin1-5/+5
2012-10-06perf event: No need to create a thread when handling PERF_RECORD_EXITArnaldo Carvalho de Melo1-1/+1
2012-09-11perf tools: Use __maybe_used for unused variablesIrina Tirdea1-5/+6
2012-05-22perf buildid-list: Work better with pipe modeStephane Eranian1-0/+2
2011-11-28perf tools: Rename perf_event_ops to perf_toolArnaldo Carvalho de Melo1-3/+4
2011-11-28perf tools: Resolve machine earlier and pass it to perf_event_opsArnaldo Carvalho de Melo1-8/+8
2011-11-28perf tools: Pass tool context in the the perf_event_ops functionsArnaldo Carvalho de Melo1-2/+5
2011-11-28perf session: Move threads to struct machineArnaldo Carvalho de Melo1-2/+2
2011-03-23perf session: Pass evsel in event_ops->sample()Arnaldo Carvalho de Melo1-0/+1
2011-01-29perf tools: Kill event_t typedef, use 'union perf_event' insteadArnaldo Carvalho de Melo1-9/+10
2011-01-29perf tools: Rename 'struct sample_data' to 'struct perf_sample'Arnaldo Carvalho de Melo1-2/+2
2010-12-04perf session: Parse sample earlierArnaldo Carvalho de Melo1-2/+5
2010-07-30perf tools: Release thread resources on PERF_RECORD_EXITArnaldo Carvalho de Melo1-0/+18
2010-06-05perf buildid: add perfconfig option to specify buildid cache dirStephane Eranian1-6/+4
2010-05-20perf annotate: Use build-ids to find the right DSOArnaldo Carvalho de Melo1-0/+22
2010-04-19perf: 'perf kvm' tool for monitoring guest performance from hostZhang, Yanmin1-1/+1
2010-02-04perf build-id: Move the routine to find DSOs with hits to the libArnaldo Carvalho de Melo1-0/+39